diff options
author | tuscanhobbit <tuscanhobbit@users.noreply.github.com> | 2013-11-23 19:46:07 +0100 |
---|---|---|
committer | tuscanhobbit <tuscanhobbit@users.noreply.github.com> | 2013-11-23 19:46:07 +0100 |
commit | 2e4177796364ca4edb3a29e7646545649d57c56a (patch) | |
tree | e0d639f14a3245963c60da8a043797f1a31b8661 /mod/admin.php | |
parent | d27ed7f6e5b595aaf20154a30995601fd6b11644 (diff) | |
download | volse-hubzilla-2e4177796364ca4edb3a29e7646545649d57c56a.tar.gz volse-hubzilla-2e4177796364ca4edb3a29e7646545649d57c56a.tar.bz2 volse-hubzilla-2e4177796364ca4edb3a29e7646545649d57c56a.zip |
a reference to account_id was missing in user admin table
Diffstat (limited to 'mod/admin.php')
-rw-r--r-- | mod/admin.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/admin.php b/mod/admin.php index 1615412b5..5a3ec48f7 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -649,7 +649,8 @@ function admin_page_users(&$a){ if($_REQUEST['order'] === 'expires') $order = " order by account_expires desc "; - $users =q("SELECT `account_id` , `account_email`, `account_lastlog`, `account_created`, `account_expires`, `account_service_class` FROM `account` where true $serviceclass $order limit %d , %d ", + $users =q("SELECT `account_id` , `account_email`, `account_lastlog`, `account_created`, `account_expires`, `account_service_class`, ( account_flags & %d ) > 0 as `blocked` FROM `account` where true $serviceclass $order limit %d , %d ", + intval(ACCOUNT_BLOCKED), intval($a->pager['start']), intval($a->pager['itemspage']) ); @@ -686,7 +687,7 @@ function admin_page_users(&$a){ '$delete' => t('Delete'), '$block' => t('Block'), '$unblock' => t('Unblock'), - + '$h_users' => t('Users'), '$th_users' => array( t('Email'), t('Register date'), t('Last login'), t('Expires'), t('Service Class')), |