[-] CO : option "fields" is not required
This commit is contained in:
1 parent
e850619dff
commit
2f631acee5
1 file changed
+4
@@ -776,6 +776,9 @@ class AdminControllerCore extends Controller
|
|||||||
|
|
||||||
foreach ($this->options as $category => $category_data)
|
foreach ($this->options as $category => $category_data)
|
||||||
{
|
{
|
||||||
|
if (!isset($category_data['fields']))
|
||||||
|
continue;
|
||||||
|
|
||||||
$fields = $category_data['fields'];
|
$fields = $category_data['fields'];
|
||||||
|
|
||||||
foreach ($fields as $field => $values)
|
foreach ($fields as $field => $values)
|
||||||
@@ -2550,3 +2553,4 @@ EOF;
|
|||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user