Properly escape single quotes for sqlite this will fix the hangup_hook used with the fax dialplan entry.
This commit is contained in:
parent
d21d2baef5
commit
32d549c160
|
|
@ -39,7 +39,7 @@
|
|||
$string = sqlite_escape_string($string);
|
||||
}
|
||||
else {
|
||||
$string = str_replace("''","'",$string);
|
||||
$string = str_replace("'","''",$string);
|
||||
}
|
||||
}
|
||||
if ($db_type == "pgsql") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue