diff --git a/lib/database.php b/lib/database.php index 12c631cc97..c6678f71d6 100644 --- a/lib/database.php +++ b/lib/database.php @@ -927,7 +927,7 @@ function db_qstr($s, $db_conn = '') { $db_conn = $database_sessions["$database_hostname:$database_port:$database_default"]; } - $replaceQuote = "\\'"; + $replaceQuote = '\\'; if (is_null($s)) return 'NULL';