diff options
author | msquare <msquare@notrademark.de> | 2016-09-30 17:08:20 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2016-09-30 17:08:20 +0200 |
commit | 3738d071f86aa5016ce326a009a278085b41fb48 (patch) | |
tree | 4471faa1cde6985cdef4aa214994977a1534d13f /includes/pages/guest_stats.php | |
parent | 1debe567f5f9fdeff5a2afbaa4619992da67f437 (diff) |
remove long array syntax
Diffstat (limited to 'includes/pages/guest_stats.php')
-rw-r--r-- | includes/pages/guest_stats.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']; |