fixed PHP 7.2 warning
This commit is contained in:
parent
1f23b0314b
commit
36c731e092
|
@ -222,7 +222,7 @@ $_SESSION['profile_types'] = parseHtml(null, $container, $old_options, false, $t
|
|||
// display module options
|
||||
foreach ($options as $moduleName => $moduleOptions) {
|
||||
// ignore modules without options
|
||||
if (sizeof($moduleOptions) < 1) {
|
||||
if (empty($moduleOptions)) {
|
||||
continue;
|
||||
}
|
||||
$module = new $moduleName($type->getScope());
|
||||
|
|
Loading…
Reference in New Issue