Răsfoiți Sursa

Menu Edit - Item List: Fix count.

fusionate 1 an în urmă
părinte
comite
3d1c73aa16
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      core/menu/menu_item_list.php

+ 2 - 2
core/menu/menu_item_list.php

@@ -17,7 +17,7 @@
 
 
 	The Initial Developer of the Original Code is
 	The Initial Developer of the Original Code is
 	Mark J Crane <[email protected]>
 	Mark J Crane <[email protected]>
-	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.
 	the Initial Developer. All Rights Reserved.
 
 
 	Contributor(s):
 	Contributor(s):
@@ -425,7 +425,7 @@
 	echo "	}\n";
 	echo "	}\n";
 
 
 //update number of menu items
 //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 "</script>\n";
 	echo "</script>\n";