diff --git a/core/menu/menu_item_list.php b/core/menu/menu_item_list.php index 93eb987a93..9e854ed4e9 100644 --- a/core/menu/menu_item_list.php +++ b/core/menu/menu_item_list.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2008-2023 + Portions created by the Initial Developer are Copyright (C) 2008-2024 the Initial Developer. All Rights Reserved. Contributor(s): @@ -425,7 +425,7 @@ echo " }\n"; //update number of menu items - echo " document.getElementById('num_rows').innerHTML = '".(!empty($x) ?: 0)."';\n"; + echo " document.getElementById('num_rows').innerHTML = '".(!empty($x) ? $x : 0)."';\n"; echo "\n";