Skip to content

Commit

Permalink
fixin db_qstr function
Browse files Browse the repository at this point in the history
  • Loading branch information
cigamit committed Mar 29, 2016
1 parent cff1d7f commit cdae56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit cdae56d

Please sign in to comment.