From 3738d071f86aa5016ce326a009a278085b41fb48 Mon Sep 17 00:00:00 2001 From: msquare Date: Fri, 30 Sep 2016 17:08:20 +0200 Subject: remove long array syntax --- includes/pages/guest_stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/pages/guest_stats.php') diff --git a/includes/pages/guest_stats.php b/includes/pages/guest_stats.php index aec2d7d4..71fde137 100644 --- a/includes/pages/guest_stats.php +++ b/includes/pages/guest_stats.php @@ -5,7 +5,7 @@ function guest_stats() { if (isset($_REQUEST['api_key'])) { if ($_REQUEST['api_key'] == $api_key) { - $stats = array(); + $stats = []; list($user_count) = sql_select("SELECT count(*) as `user_count` FROM `User`"); $stats['user_count'] = $user_count['user_count']; -- cgit v1.2.3-70-g09d2