From 38ca5cfa613db59499209b2aabb8f411ebf5d51e Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Thu, 9 Jan 2020 20:34:13 +0900 Subject: [PATCH] Update database.php --- system/database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } }