From e038a94e337d001937c03f4efcd0459d2379ebd6 Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Fri, 13 Jun 2014 02:17:10 +0000 Subject: [PATCH] Fix for Issue 615 - Caller ID Number in Follow Me now removable upon save. --- app/calls/resources/classes/follow_me.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/calls/resources/classes/follow_me.php b/app/calls/resources/classes/follow_me.php index c48d43673f..1ed5ef541e 100644 --- a/app/calls/resources/classes/follow_me.php +++ b/app/calls/resources/classes/follow_me.php @@ -37,7 +37,7 @@ include "root.php"; public $call_prompt; public $follow_me_enabled; private $extension; - + public $destination_data_1; public $destination_type_1; public $destination_delay_1; @@ -108,9 +108,7 @@ include "root.php"; $sql = "update v_follow_me set "; $sql .= "follow_me_enabled = '$this->follow_me_enabled', "; $sql .= "cid_name_prefix = '$this->cid_name_prefix', "; - if (strlen($this->cid_number_prefix) > 0) { - $sql .= "cid_number_prefix = '$this->cid_number_prefix', "; - } + $sql .= "cid_number_prefix = '$this->cid_number_prefix', "; $sql .= "call_prompt = '$this->call_prompt' "; $sql .= "where domain_uuid = '$this->domain_uuid' "; $sql .= "and follow_me_uuid = '$this->follow_me_uuid' ";