Commit 75cc43a9 authored by Mike Sheldon's avatar Mike Sheldon

Make getUserList() actually return its data

parent 2a21651a
......@@ -188,7 +188,7 @@ class Server {
global $adodb;
$alpha .= '%';
$query = 'SELECT username from Users where username LIKE ' . $adodb->qstr($alpha);
$query = 'SELECT username from Users where username LIKE ' . $adodb->qstr($alpha) . ' ORDER BY username ASC';
$adodb->SetFetchMode(ADODB_FETCH_ASSOC);
$data = $adodb->CacheGetAll(7200, $query);
......@@ -196,6 +196,7 @@ class Server {
throw new Exception('ERROR ' . $query);
}
return $data
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment