diff --git a/htdocs/categories/index.php b/htdocs/categories/index.php index 041226a8131..d338e4d95d4 100644 --- a/htdocs/categories/index.php +++ b/htdocs/categories/index.php @@ -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; } }