mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Fix a bug where the upgrade would duplicate groups assigned to items in the menu.
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
//get the menu_uuid
|
||||
$menu_uuid = $field['menu_uuid'];
|
||||
//check each menu to see if there are items in the menu assigned to it
|
||||
$sql .= "select count(*) as count from v_menu_item_groups ";
|
||||
$sql = "select count(*) as count from v_menu_item_groups ";
|
||||
$sql .= "where menu_uuid = '$menu_uuid' ";
|
||||
$prep_statement = $db->prepare($sql);
|
||||
$prep_statement->execute();
|
||||
|
||||
Reference in New Issue
Block a user