Update follow_me.php (#3885)
Escape the single quote so the sql query will work correctly.
This commit is contained in:
@@ -332,7 +332,7 @@ include "root.php";
|
|||||||
}
|
}
|
||||||
//toll allow
|
//toll allow
|
||||||
if ($this->toll_allow != '') {
|
if ($this->toll_allow != '') {
|
||||||
$variables[] = "toll_allow='".$this->toll_allow."'";
|
$variables[] = "toll_allow=''".$this->toll_allow."''";
|
||||||
}
|
}
|
||||||
|
|
||||||
$variables[] = "instant_ringback=true";
|
$variables[] = "instant_ringback=true";
|
||||||
@@ -395,7 +395,7 @@ include "root.php";
|
|||||||
|
|
||||||
//toll allow
|
//toll allow
|
||||||
if ($this->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') {
|
if ($this->follow_me_ignore_busy != 'true') {
|
||||||
|
|||||||
Reference in New Issue
Block a user