fixed missing arg
This commit is contained in:
parent
1c3cc431f0
commit
4ae215e597
@ -17,7 +17,7 @@ class DBUser extends Database
|
|||||||
$query->bindParam(":uid", $uid);
|
$query->bindParam(":uid", $uid);
|
||||||
$query->execute();
|
$query->execute();
|
||||||
$result = $query->fetch(PDO::FETCH_BOTH);
|
$result = $query->fetch(PDO::FETCH_BOTH);
|
||||||
$user = new User($result['ID'], $result['username'], $result['email'], $result['password'], $result['reg_date'], $result['login_date'], $result['reg_ip'], $result['permissions']);
|
$user = new User($result['ID'], $result['username'], $result['email'], $result['password'], $result['reg_date'], $result['login_date'], $result['reg_ip'], $result['permissions'], $result['active']);
|
||||||
return $user;
|
return $user;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user