mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix_announce_warning
This commit is contained in:
@@ -80,7 +80,7 @@ function sql_query($query)
|
||||
|
||||
function sqlesc($value) {
|
||||
if (is_null($value)) {
|
||||
return null;
|
||||
return 'null';
|
||||
}
|
||||
$value = "'" . mysql_real_escape_string($value) . "'";
|
||||
return $value;
|
||||
|
||||
Reference in New Issue
Block a user