From 20d5985c0a6f01ea01f06c95e7395b7b65d706d9 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 15 May 2013 22:59:05 -0700 Subject: fix setting account_roles for admin account --- include/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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; -- cgit v1.2.3