From 87e7b25fa29897797d718a7274803beabbe37cdc Mon Sep 17 00:00:00 2001 From: ruan Date: Thu, 31 May 2018 10:33:44 +0200 Subject: [PATCH] Use PDO::FETCH_ASSOC for listings --- inc/page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/page.php b/inc/page.php index 2a0227e..d606a69 100644 --- a/inc/page.php +++ b/inc/page.php @@ -158,7 +158,7 @@ class Page { $st->execute(); - $rows = $st->fetchAll(); + $rows = $st->fetchAll(PDO::FETCH_ASSOC); $st->closeCursor();