Made more changes to the Admin Fields Conditions area to insure that the correct behaviour is aplied to the required fields. Removed the double forward slashes from the paths in the structure area of the compiler.

This commit is contained in:
2018-09-10 13:04:52 +02:00
parent 5b1813db7c
commit 49ef674c79
18 changed files with 326 additions and 170 deletions

View File

@ -2696,6 +2696,11 @@ class Get
{
return $this->uniqueFieldNames[$listViewName . $field['hash']];
}
// always make sure we have a field name and type
if (!isset($field['settings']) || !isset($field['settings']->type_name) || !isset($field['settings']->name))
{
return 'error';
}
// set the type name
$type_name = ComponentbuilderHelper::safeString($field['settings']->type_name);
// set the name of the field