another php5 compat assigned by reference

This commit is contained in:
Ian 2012-10-17 18:01:16 +02:00
parent 3ba8bdc854
commit 802c1dc18e

View File

@ -2368,7 +2368,7 @@ function serendipity_parseMediaProperties(&$dprops, &$keywords, &$media, &$props
if (!$is_edit) { if (!$is_edit) {
$type = 'readonly'; $type = 'readonly';
} }
$val =& serendipity_mediaTypeCast($parts[0], $props['base_property'][$parts[0]], true); $val = serendipity_mediaTypeCast($parts[0], $props['base_property'][$parts[0]], true);
$propkey = htmlspecialchars($parts[0]) . $idx; $propkey = htmlspecialchars($parts[0]) . $idx;