mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update time_conditions.php (#4811)
This commit is contained in:
@@ -248,7 +248,7 @@
|
|||||||
echo "<br><br>";
|
echo "<br><br>";
|
||||||
echo "</form>";
|
echo "</form>";
|
||||||
|
|
||||||
if (sizeof($dialplan_ids) > 0) {
|
if (is_array($dialplan_ids) && sizeof($dialplan_ids) > 0) {
|
||||||
echo "<script>\n";
|
echo "<script>\n";
|
||||||
echo " function check(what) {\n";
|
echo " function check(what) {\n";
|
||||||
foreach ($dialplan_ids as $checkbox_id) {
|
foreach ($dialplan_ids as $checkbox_id) {
|
||||||
@@ -261,4 +261,4 @@
|
|||||||
//include the footer
|
//include the footer
|
||||||
require_once "resources/footer.php";
|
require_once "resources/footer.php";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user