fixed chat (sql now returns NULL for max(id) instead of 0) and parseStringCritical (handover NULL)

main
hecht 10 years ago
parent 4de2a52481
commit b5f783823b

@ -203,4 +203,4 @@ if (isset($_GET['send'])) {
<?php
}
?>
?>

@ -303,6 +303,9 @@ function validateStringArray($value){
}
function validateStringCritical($value) {
if($value == null) {
return null;
}
$value = validateString($value);
return preg_replace('#[()\]\[\s]#', '', $value);
}

Loading…
Cancel
Save