Update dialplans.php (#4789)

This commit is contained in:
chansizzle 2019-10-16 19:37:34 -06:00 committed by FusionPBX
parent 82c4dbdeb3
commit 09443cdb41
1 changed files with 1 additions and 3 deletions

View File

@ -445,8 +445,7 @@
}
echo "<br><br>";
if (is_array($dialplans)) {
if (sizeof($dialplan_ids) > 0) {
if (!empty($dialplan_ids) && sizeof($dialplan_ids) > 0) {
echo "<script>\n";
echo " function check(what) {\n";
echo " document.getElementById('chk_all').checked = (what == 'all') ? true : false;\n";
@ -456,7 +455,6 @@
echo " }\n";
echo "</script>\n";
}
}
unset($dialplans, $row);