mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +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);
|
||||
}
|
||||
else {
|
||||
$string = str_replace("''","'",$string);
|
||||
$string = str_replace("'","''",$string);
|
||||
}
|
||||
}
|
||||
if ($db_type == "pgsql") {
|
||||
|
||||
Reference in New Issue
Block a user