diff --git a/system/database.php b/system/database.php index 90fa69c..c003082 100644 --- a/system/database.php +++ b/system/database.php @@ -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'); } }