mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Properly escape single quotes for sqlite this will fix the hangup_hook used with the fax dialplan entry.
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
$string = sqlite_escape_string($string);
|
$string = sqlite_escape_string($string);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$string = str_replace("''","'",$string);
|
$string = str_replace("'","''",$string);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($db_type == "pgsql") {
|
if ($db_type == "pgsql") {
|
||||||
|
|||||||
Reference in New Issue
Block a user