mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 17:13:49 +00:00
Update time_conditions.php (#4811)
This commit is contained in:
@@ -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";
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user