aboutsummaryrefslogtreecommitdiffstats
path: root/include/account.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-21 14:56:42 -0800
committerfriendica <info@friendica.com>2014-01-21 14:56:42 -0800
commit60416d6f33e94d44bab4e47e616b363b36dbd777 (patch)
tree3916cdc46b9a90c1388e5963a535bcc32adb78f9 /include/account.php
parent530adb50ee741eb46f0e798d02d043afe7dd2d45 (diff)
downloadvolse-hubzilla-60416d6f33e94d44bab4e47e616b363b36dbd777.tar.gz
volse-hubzilla-60416d6f33e94d44bab4e47e616b363b36dbd777.tar.bz2
volse-hubzilla-60416d6f33e94d44bab4e47e616b363b36dbd777.zip
fix the admin interface to pending registrations
Diffstat (limited to 'include/account.php')
-rw-r--r--include/account.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/account.php b/include/account.php
index b3dbb7023..7d1aa598d 100644
--- a/include/account.php
+++ b/include/account.php
@@ -383,11 +383,11 @@ function user_deny($hash) {
if(! count($register))
return false;
- $user = q("SELECT account_id FROM account WHERE account_id = %d LIMIT 1",
+ $account = q("SELECT account_id FROM account WHERE account_id = %d LIMIT 1",
intval($register[0]['uid'])
);
- if(! $user)
+ if(! $account)
return false;
$r = q("DELETE FROM account WHERE account_id = %d LIMIT 1",