mirror of
https://gitlab.com/ruany/litebans-php.git
synced 2025-12-13 19:44:52 +00:00
Use PDO::FETCH_ASSOC for listings
This commit is contained in:
@@ -158,7 +158,7 @@ class Page {
|
||||
|
||||
$st->execute();
|
||||
|
||||
$rows = $st->fetchAll();
|
||||
$rows = $st->fetchAll(PDO::FETCH_ASSOC);
|
||||
|
||||
$st->closeCursor();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user