Older php doesn't understand [] (we knew this already)

This commit is contained in:
Mark Schouten 2014-07-11 15:21:31 +02:00
parent c16a85547c
commit 79f1809b16

View file

@ -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'],