Fix MediaLibrary objects not pass through into entryproperties CustomFields
and replaces some old "|@" Smarty 2 array "type hintings" to "|". Also fixes the default fallback in default/admin/media_choose.tpl, which also missed the serendipity js namespace. @yellowled Please trigger a default/admin/serendipity_editor.js run to fetch up with all latterly added changes.
This commit is contained in:
@@ -466,7 +466,7 @@ class serendipity_event_entryproperties extends serendipity_event
|
||||
<?php
|
||||
foreach($fields AS $fieldname) {
|
||||
$fieldparts = explode(':', $fieldname);
|
||||
$fieldname = $fieldparts[0];
|
||||
$fieldname = $fieldparts[0];
|
||||
$_fieldname = serendipity_specialchars(trim($fieldname));
|
||||
|
||||
if (isset($serendipity['POST']['properties'][$_fieldname])) {
|
||||
|
||||
Reference in New Issue
Block a user