mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 03:33:49 +00:00
Menu - Edit: Fix items counter (0) when no menu items.
This commit is contained in:
@@ -414,7 +414,7 @@ function build_db_child_menu_list ($db, $menu_item_level, $menu_item_uuid) {
|
||||
echo " }\n";
|
||||
|
||||
//update number of menu items
|
||||
echo " document.getElementById('num_rows').innerHTML = '".$x."';\n";
|
||||
echo " document.getElementById('num_rows').innerHTML = '".($x ?: 0)."';\n";
|
||||
|
||||
echo "</script>\n";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user