Update web view

This commit is contained in:
Grégory Soutadé
2010-11-05 19:01:23 +01:00
parent 457bb7941a
commit 27b5740b5c
2 changed files with 4 additions and 7 deletions

View File

@@ -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;
}