Change the object from pdo to db.
This commit is contained in:
parent
b00558bd78
commit
a0191c7bc7
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue