fixed gh-167 so that config fields can be safed

This commit is contained in:
2017-11-04 14:37:13 +02:00
parent 87de251f2e
commit c30e6308f1
282 changed files with 282 additions and 282 deletions

View File

@ -1267,7 +1267,7 @@ class Fields extends Structure
$this->siteFieldData['decode'][$array['site']][$code][$array['as']][$array['key']] = array('decode' => $set, 'type' => $type);
}
// set the uikit checker
if (in_array($type,$uikit))
if ($this->uikit && in_array($type,$uikit))
{
$this->siteFieldData['uikit'][$array['site']][$code][$array['as']][$array['key']] = $array;
}