mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-08 04:33:49 +00:00
Fix this problem:
Fatal error: Call to a member function execute() on a non-object in /var/www/fusionpbx/includes/classes/menu.php on line 372 Alias was used for the tables but missed on the order by.
This commit is contained in:
@@ -367,7 +367,7 @@
|
||||
}
|
||||
$sql .= ") ";
|
||||
$sql .= ") ";
|
||||
$sql .= "order by menu_item_title, menu_item_order asc ";
|
||||
$sql .= "order by l.menu_item_title, i.menu_item_order asc ";
|
||||
$prep_statement_2 = $db->prepare($sql);
|
||||
$prep_statement_2->execute();
|
||||
$result_2 = $prep_statement_2->fetchAll(PDO::FETCH_NAMED);
|
||||
|
||||
Reference in New Issue
Block a user