mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Change the object from pdo to db.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user