PHP 7.2 compatibility
This commit is contained in:
parent
632d3a26bd
commit
735a7d3554
|
@ -148,7 +148,9 @@ $tabindex = 1;
|
|||
$modules = array_keys($options);
|
||||
$_SESSION['conf_types'] = array();
|
||||
for ($i = 0; $i < sizeof($modules); $i++) {
|
||||
if (sizeof($options[$modules[$i]]) < 1) continue;
|
||||
if (empty($options[$modules[$i]])) {
|
||||
continue;
|
||||
}
|
||||
$module = moduleCache::getModule($modules[$i], 'none');
|
||||
$iconImage = $module->getIcon();
|
||||
if ($iconImage != null) {
|
||||
|
|
Loading…
Reference in New Issue