Update follow_me.php (#3885)

Escape the single quote so the sql query will work correctly.
This commit is contained in:
konradSC
2018-11-30 16:12:12 -05:00
committed by FusionPBX
parent cd104e2e47
commit 23340a361e

View File

@@ -332,7 +332,7 @@ include "root.php";
}
//toll allow
if ($this->toll_allow != '') {
$variables[] = "toll_allow='".$this->toll_allow."'";
$variables[] = "toll_allow=''".$this->toll_allow."''";
}
$variables[] = "instant_ringback=true";
@@ -395,7 +395,7 @@ include "root.php";
//toll allow
if ($this->toll_allow != '') {
$variables[] = "toll_allow='".$this->toll_allow."'";
$variables[] = "toll_allow=''".$this->toll_allow."''";
}
if ($this->follow_me_ignore_busy != 'true') {