mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 09:44:55 +02:00
Fix installMenus function
This commit is contained in:
@@ -774,7 +774,7 @@ class Plugins {
|
||||
Menu::where('template', $templateName)->delete();
|
||||
}
|
||||
|
||||
if (Menu::count()) {
|
||||
if (Menu::where('template', $templateName)->count()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user