Fixed use of wrong BanInfo constructor.

This commit is contained in:
Pachira 2024-02-08 15:18:57 +00:00
parent be54ce2c22
commit c0caceed7b

View file

@ -147,7 +147,7 @@ class Bans {
$stmt->execute();
$result = $stmt->getResult();
return $result->next() ? new BanInfo($result) : null;
return $result->next() ? BanInfo::fromResult($result) : null;
}
public function createBan(