Fixed gh-262 that broke the saving of php values in custom field

This commit is contained in:
2018-04-13 22:06:45 +02:00
parent 04aefa256b
commit a0890ea87f
7 changed files with 23 additions and 46 deletions

View File

@ -903,8 +903,8 @@ class ComponentbuilderModelField extends JModelAdmin
// make sure we have the correct values
if (ComponentbuilderHelper::checkArray($property) && isset($property['name']) && ComponentbuilderHelper::checkString($property['name']) && isset($property['value']))
{
// fix the name
$property['name'] = ComponentbuilderHelper::safeString($property['name']);
// fix the name (TODO)
// $property['name'] = ComponentbuilderHelper::safeString($property['name']);
// some fixes, just in case (more can be added)
switch ($property['name'])
{