From a0191c7bc73f31935318404554b48e415a186193 Mon Sep 17 00:00:00 2001 From: markjcrane Date: Sat, 29 Aug 2015 12:18:44 -0600 Subject: [PATCH] Change the object from pdo to db. --- resources/switch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/switch.php b/resources/switch.php index 3db53a71d6..096b5d4921 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -79,7 +79,7 @@ function load_extensions() { $sql .= " and e.enabled = 'true' "; $sql .= "order by "; $sql .= " e.extension asc "; - $query = $pdo->query($sql); + $query = $db->query($sql); if($query !== false) { $result = $db->query($sql)->fetchAll(PDO::FETCH_ASSOC); $x = 0;