Minor fix
This commit is contained in:
parent
2974a23332
commit
ba595d8b74
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ $nbofentries = (count($data) - 1);
|
|||
|
||||
$morethan1level = 0;
|
||||
foreach($data as $record) {
|
||||
if (!empty($record['fk_menu'])) {
|
||||
if (!empty($record['fk_menu']) && $record['fk_menu'] > 0) {
|
||||
$morethan1level = 1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue