Update time_conditions.php (#4811)

This commit is contained in:
chansizzle
2019-10-30 18:05:29 -06:00
committed by FusionPBX
parent c9afde89f1
commit dee06a3e2e

View File

@@ -248,7 +248,7 @@
echo "<br><br>";
echo "</form>";
if (sizeof($dialplan_ids) > 0) {
if (is_array($dialplan_ids) && sizeof($dialplan_ids) > 0) {
echo "<script>\n";
echo " function check(what) {\n";
foreach ($dialplan_ids as $checkbox_id) {
@@ -261,4 +261,4 @@
//include the footer
require_once "resources/footer.php";
?>
?>