From 6bcdaa8ed6d45d8c852bf2d2e37b07446861c94b Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 6 Mar 2017 14:00:33 +0100 Subject: Hardcoded PDO class name replaced with $Database class. --- system/search/main.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system') 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), ] ]; -- cgit v1.2.3