Properly escape single quotes for sqlite this will fix the hangup_hook used with the fax dialplan entry.

This commit is contained in:
Mark Crane
2012-06-24 02:51:13 +00:00
parent d21d2baef5
commit 32d549c160

View File

@@ -39,7 +39,7 @@
$string = sqlite_escape_string($string);
}
else {
$string = str_replace("''","'",$string);
$string = str_replace("'","''",$string);
}
}
if ($db_type == "pgsql") {