From d8877203c7f06832420e85d53316bd862d31216b Mon Sep 17 00:00:00 2001 From: fusionate Date: Mon, 9 Sep 2024 17:42:23 -0600 Subject: [PATCH] Menu Edit - Item List: Fix count. --- core/menu/menu_item_list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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";