aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Admin
diff options
context:
space:
mode:
authorHilmar R <u02@u29lx193>2021-03-03 12:59:19 +0100
committerHilmar R <u02@u29lx193>2021-03-03 12:59:19 +0100
commitc29261487cdecda4282df25769540bc4fa20631d (patch)
tree1462a8d766cb012d3678caaedf800908fe9b1866 /Zotlabs/Module/Admin
parentc3229643d026e28f5b62fb4b5c6b7bf4e10f4584 (diff)
downloadvolse-hubzilla-c29261487cdecda4282df25769540bc4fa20631d.tar.gz
volse-hubzilla-c29261487cdecda4282df25769540bc4fa20631d.tar.bz2
volse-hubzilla-c29261487cdecda4282df25769540bc4fa20631d.zip
a bit more useability for the admin at the beginning
Diffstat (limited to 'Zotlabs/Module/Admin')
-rw-r--r--Zotlabs/Module/Admin/Accounts.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Admin/Accounts.php b/Zotlabs/Module/Admin/Accounts.php
index 74e562a9c..7073f026a 100644
--- a/Zotlabs/Module/Admin/Accounts.php
+++ b/Zotlabs/Module/Admin/Accounts.php
@@ -187,11 +187,12 @@ class Accounts {
*/
$tao = 'tao.zar.zarax = ' . "'" . '<img src="' . z_root() . '/images/zapax16.gif">' . "';\n";
+ // better useability at the moment to tell all (ACCOUNT_PENDING >= 0) instead of (> 0 for those need approval)
$pending = q("SELECT @i:=@i+1 AS reg_n, @i MOD 2 AS reg_z, "
." reg_did2, reg_created, reg_startup, reg_expires, reg_email, reg_atip, reg_hash, reg_id, "
." CASE (reg_flags & %d) WHEN 0 THEN '✔ verified' WHEN 1 THEN '× not yet' END AS reg_vfd "
." FROM register, (SELECT @i:=0) AS i "
- ." WHERE reg_vital = 1 AND (reg_flags & %d) > 0 ",
+ ." WHERE reg_vital = 1 AND (reg_flags & %d) >= 0 ",
intval(ACCOUNT_UNVERIFIED),
intval(ACCOUNT_PENDING)
);