From 694e8b18d0124d40afb7ca3c143f54b3eb6b56aa Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Thu, 11 Apr 2024 17:02:00 +0200 Subject: [PATCH] feat(pbx): refs #7198 code reorder --- incoming.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/incoming.php b/incoming.php index f58bc74..e6b251c 100755 --- a/incoming.php +++ b/incoming.php @@ -56,11 +56,11 @@ if ($countryCode) { ); } else $isOutOfHours = true; -} -if ($isOutOfHours) { - Agi::exec("SET VARIABLE MACRO $countryCode-out-of-ours"); - exit; + if ($isOutOfHours) { + Agi::exec("SET VARIABLE MACRO $countryCode-out-of-ours"); + exit; + } } // Gets the client from the phone number