Update web view
This commit is contained in:
@@ -47,9 +47,9 @@ class User
|
||||
|
||||
function IsAccountBlocked($id)
|
||||
{
|
||||
foreach($this->accounts as $i => $ac)
|
||||
if ($ac->id == $id)
|
||||
return $ac["blocked"] == "1";
|
||||
foreach($this->accounts as $i => $account)
|
||||
if ($account["id"] == "$id")
|
||||
return $account["blocked"] == "1";
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user