Fixed use of wrong BanInfo constructor.
This commit is contained in:
parent
be54ce2c22
commit
c0caceed7b
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ class Bans {
|
||||||
$stmt->execute();
|
$stmt->execute();
|
||||||
|
|
||||||
$result = $stmt->getResult();
|
$result = $stmt->getResult();
|
||||||
return $result->next() ? new BanInfo($result) : null;
|
return $result->next() ? BanInfo::fromResult($result) : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function createBan(
|
public function createBan(
|
||||||
|
|
Loading…
Reference in a new issue