Update follow_me.php (#3885)
Escape the single quote so the sql query will work correctly.
This commit is contained in:
parent
cd104e2e47
commit
23340a361e
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Reference in New Issue