From 60151739be28bc81ebec68a64358b6db1f3ba4a6 Mon Sep 17 00:00:00 2001 From: fusionate Date: Mon, 4 Jan 2021 18:09:07 -0700 Subject: [PATCH] Time Conditions: Minor adjustment. --- app/time_conditions/time_condition_edit.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/time_conditions/time_condition_edit.php b/app/time_conditions/time_condition_edit.php index 5f8cfa2a21..d9936e4ca7 100644 --- a/app/time_conditions/time_condition_edit.php +++ b/app/time_conditions/time_condition_edit.php @@ -561,9 +561,7 @@ $sql .= " dialplan_detail_tag = 'condition' "; $sql .= " and dialplan_detail_type in ('year','mon','mday','wday','yday','week','mweek','hour','minute','minute-of-day','time-of-day','date-time') "; $sql .= " ) "; - $sql .= " or ( "; - $sql .= " dialplan_detail_tag = 'action' "; - $sql .= " ) "; + $sql .= " or dialplan_detail_tag = 'action' "; $sql .= ") "; $sql .= "order by dialplan_detail_group asc, dialplan_detail_order asc"; $parameters['dialplan_uuid'] = $dialplan_uuid;