From 8055785c8116f84eff3facfc172b9f3bcaf7a8b3 Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 19 Nov 2024 07:48:52 +0100 Subject: [PATCH] Fix installMenus function --- system/src/Plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/src/Plugins.php b/system/src/Plugins.php index 5932ebb9..6e518b48 100644 --- a/system/src/Plugins.php +++ b/system/src/Plugins.php @@ -774,7 +774,7 @@ class Plugins { Menu::where('template', $templateName)->delete(); } - if (Menu::count()) { + if (Menu::where('template', $templateName)->count()) { return; }