Change the object from pdo to db.

This commit is contained in:
markjcrane
2015-08-29 12:18:44 -06:00
parent 770abd3fcc
commit 5d9f711816

View File

@@ -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;