diff --git a/app/time_conditions/time_conditions.php b/app/time_conditions/time_conditions.php index b4572404b1..ada4477da3 100644 --- a/app/time_conditions/time_conditions.php +++ b/app/time_conditions/time_conditions.php @@ -248,7 +248,7 @@ echo "

"; echo ""; - if (sizeof($dialplan_ids) > 0) { + if (is_array($dialplan_ids) && sizeof($dialplan_ids) > 0) { echo "