aboutsummaryrefslogtreecommitdiffstats
path: root/system/search
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-03-06 14:00:33 +0100
committerThomas Lange <code@nerdmind.de>2017-03-06 14:00:33 +0100
commit6bcdaa8ed6d45d8c852bf2d2e37b07446861c94b (patch)
tree7d93fa4750075d6faa3a405410cd74fa8ced4007 /system/search
parent04e13d6cb15d8dbcc9e68f135a40df123074d3ea (diff)
downloadblog-6bcdaa8ed6d45d8c852bf2d2e37b07446861c94b.tar.gz
blog-6bcdaa8ed6d45d8c852bf2d2e37b07446861c94b.tar.xz
blog-6bcdaa8ed6d45d8c852bf2d2e37b07446861c94b.zip
Hardcoded PDO class name replaced with $Database class.
Diffstat (limited to 'system/search')
-rw-r--r--system/search/main.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/search/main.php b/system/search/main.php
index e27cebf..fe18e7e 100644
--- a/system/search/main.php
+++ b/system/search/main.php
@@ -21,9 +21,9 @@ $form_data = [
'Y' => HTTP::GET('y'),
],
'OPTIONS' => [
- 'D' => $D_LIST->fetchAll(PDO::FETCH_COLUMN),
- 'M' => $M_LIST->fetchAll(PDO::FETCH_COLUMN),
- 'Y' => $Y_LIST->fetchAll(PDO::FETCH_COLUMN),
+ 'D' => $D_LIST->fetchAll($Database::FETCH_COLUMN),
+ 'M' => $M_LIST->fetchAll($Database::FETCH_COLUMN),
+ 'Y' => $Y_LIST->fetchAll($Database::FETCH_COLUMN),
]
];