Update time_conditions.php (#4811)
This commit is contained in:
parent
dcff7838d0
commit
3b67c380e6
|
|
@ -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";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue