fix_announce_warning

This commit is contained in:
xiaomlove
2021-01-20 20:06:48 +08:00
parent b3d99612a1
commit d5c4166c91
9 changed files with 24 additions and 39 deletions

View File

@@ -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;