From 1cb30c52557b88f88e798febf995836fc2638c8c Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Sun, 16 Dec 2018 08:32:32 +0100 Subject: [PATCH] Fixed Bug in count_array(), /includes/ui/ui_globals.inc. --- includes/ui/ui_globals.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/ui/ui_globals.inc b/includes/ui/ui_globals.inc index ecb3ca4e..7886e24b 100644 --- a/includes/ui/ui_globals.inc +++ b/includes/ui/ui_globals.inc @@ -64,7 +64,7 @@ function get_global_curr_code() function count_array($array) { - return (is_array($array)) ? count($array) : 0; + return (is_array($array)) ? count($array) : 1; } //-------------------------------------------------------------------------------------- -- 2.30.2