mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Remove deprecated pg_escape_string
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
}
|
||||
}
|
||||
if ($db_type == "pgsql") {
|
||||
$string = pg_escape_string($string);
|
||||
$string = str_replace("'","''",$string);
|
||||
}
|
||||
if ($db_type == "mysql") {
|
||||
if(function_exists('mysql_real_escape_string')){
|
||||
|
||||
Reference in New Issue
Block a user