From 79f1809b162a4aa3529a5416462605c5b329e481 Mon Sep 17 00:00:00 2001 From: Mark Schouten Date: Fri, 11 Jul 2014 15:21:31 +0200 Subject: [PATCH] Older php doesn't understand [] (we knew this already) --- users.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users.php b/users.php index fef9d92..2933c01 100644 --- a/users.php +++ b/users.php @@ -23,7 +23,7 @@ if ($action == "list") { jtable_respond($users); } elseif ($action == "listoptions") { $users = get_all_users(); - $retusers = []; + $retusers = array(); foreach ($users as $user) { $retusers[] = array ( 'DisplayText' => $user['emailaddress'],