sites/all/modules/filefield/filefield_widget.inc on line 483
Issue is this http://stackoverflow.com/questions/8610636/is-this-a-php-bug

This works

<?php
 
if (isset($item['data']) && is_array($item['data']) && isset($item['data']['description'])) {
    unset(
$item['data']['description']);
  }
?>

This does not

<?php
 
if (isset($item['data']['description'])) {
    unset(
$item['data']['description']);
  }
?>
Files: 

Comments

mikeytown2’s picture

Status:Active» Needs review
StatusFileSize
new527 bytes
quicksketch’s picture

Status:Needs review» Fixed

Thanks, seems safe enough for me. Committed.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.