Update database.php

This commit is contained in:
Namhyeon Go 2020-01-09 20:34:13 +09:00 committed by GitHub
parent c3840a10de
commit 38ca5cfa61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,7 +270,7 @@ if(!check_function_exists("exec_db_fetch_all")) {
if(!check_function_exists("get_db_zero")) {
function get_db_zero($value) {
return ($value > 0 : $value : '0');
return ($value > 0 ? $value : '0');
}
}