Menu Edit - Item List: Fix count.

This commit is contained in:
fusionate 2024-09-09 17:42:23 -06:00
parent 6295dbe4fb
commit d8877203c7
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
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 "</script>\n";