diff options
author | friendica <info@friendica.com> | 2013-05-15 22:59:05 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-05-15 22:59:05 -0700 |
commit | 20d5985c0a6f01ea01f06c95e7395b7b65d706d9 (patch) | |
tree | b0e3136eb5f79e3755f58f68d7e2fa6562b73d42 /include/account.php | |
parent | d20a0cb6abe92e05f4387a6b3ad504b422275fb1 (diff) | |
download | volse-hubzilla-20d5985c0a6f01ea01f06c95e7395b7b65d706d9.tar.gz volse-hubzilla-20d5985c0a6f01ea01f06c95e7395b7b65d706d9.tar.bz2 volse-hubzilla-20d5985c0a6f01ea01f06c95e7395b7b65d706d9.zip |
fix setting account_roles for admin account
Diffstat (limited to 'include/account.php')
-rw-r--r-- | include/account.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/account.php b/include/account.php index 1572583c7..bc9c44429 100644 --- a/include/account.php +++ b/include/account.php @@ -130,7 +130,7 @@ function create_account($arr) { // allow the admin_email account to be admin, but only if it's the first account. $c = account_total(); - if((c === 0) && (check_account_admin($arr))) + if(($c === 0) && (check_account_admin($arr))) $roles |= ACCOUNT_ROLE_ADMIN; |