updated the compiler to first check if array values is set

This commit is contained in:
2017-10-30 20:50:56 +02:00
parent ccb3f09a34
commit 306a9b9613
19 changed files with 551 additions and 709 deletions

View File

@ -11607,7 +11607,7 @@ class Interpretation extends Fields
$this->langContent[$this->lang][$langKey] = $langName;
$counter++;
}
if ($view['dashboard_list'] == 1)
if (isset($view['dashboard_list']) && $view['dashboard_list'] == 1)
{
$type = ComponentbuilderHelper::imageInfo($view['settings']->icon);
if ($type)
@ -14004,7 +14004,7 @@ function vdm_dkim() {
foreach ($menuControllers as $menuController)
{
// add menu controll view that has menus options
if ($view[$menuController])
if (isset($view[$menuController]) && $view[$menuController])
{
$targetView_ = 'views.';
if ($menuController === 'dashboard_add')