mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-18 19:59:30 +03:00
Order by username
This commit is contained in:
parent
26a743f548
commit
f6cec7ef3b
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ function get_db() {
|
|||
|
||||
function get_all_users() {
|
||||
$db = get_db();
|
||||
$r = $db->query('SELECT id, emailaddress, isadmin FROM users');
|
||||
$r = $db->query('SELECT id, emailaddress, isadmin FROM users ORDER BY emailaddress');
|
||||
$ret = array();
|
||||
while ($row = $r->fetchArray(SQLITE3_ASSOC)) {
|
||||
array_push($ret, $row);
|
||||
|
|
Loading…
Add table
Reference in a new issue