1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 20:01:47 +02:00

Issue #2146 - Fix for theme-manager after model refactoring.

This commit is contained in:
Cameron
2019-06-04 10:48:56 -07:00
parent f0f6eb5d73
commit ca1748df8d
2 changed files with 9 additions and 2 deletions

View File

@@ -4816,9 +4816,16 @@ var_dump($select_options);*/
break;
}
if(!empty($attributes['grid']) && empty($attributes['type']))
{
return null;
}
if(empty($attributes['type']))
{
e107::getDebug()->log("Field '".$field."' is missing a value for 'type'.");
// e107::getDebug()->log($value);
// e107::getDebug()->log($attributes);
}