From ea180ddced3cf2c51a5a16f18b8ef53c732083cb Mon Sep 17 00:00:00 2001 From: sanderkwantes Date: Wed, 25 Apr 2018 03:26:33 +0200 Subject: [PATCH] Fix for broken time conditions (#3034) Fixes an issue were time conditions are not working if Date & Time is used. --- app/dialplans/resources/classes/dialplan.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dialplans/resources/classes/dialplan.php b/app/dialplans/resources/classes/dialplan.php index 84ca79c9f9..09342e2ca7 100644 --- a/app/dialplans/resources/classes/dialplan.php +++ b/app/dialplans/resources/classes/dialplan.php @@ -751,7 +751,7 @@ include "root.php"; elseif ($dialplan_detail_type == "week") { $condition_type = 'time'; } - elseif ($ialplan_detail_type == "date-time") { + elseif ($dialplan_detail_type == "date-time") { $condition_type = 'time'; } else {