mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-20 20:13:40 +03:00
commit
f7d502112d
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ function get_db() {
|
||||||
|
|
||||||
function get_all_users() {
|
function get_all_users() {
|
||||||
$db = get_db();
|
$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();
|
$ret = array();
|
||||||
while ($row = $r->fetchArray(SQLITE3_ASSOC)) {
|
while ($row = $r->fetchArray(SQLITE3_ASSOC)) {
|
||||||
array_push($ret, $row);
|
array_push($ret, $row);
|
||||||
|
|
Loading…
Add table
Reference in a new issue