Archived
1
0

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:
Ian
2015-09-15 17:28:04 +02:00
parent 72bfb9a515
commit 61fe3e2bf9
5 changed files with 49 additions and 27 deletions
@@ -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])) {