From 0ecb8e32cbb6884c58a58e7adf568988705ae6e0 Mon Sep 17 00:00:00 2001 From: Webysther Sperandio Date: Tue, 31 Jan 2023 02:09:46 +0100 Subject: [PATCH] Update SystemController.php Added Sub feature flags FEATURE_FLAG_RECIPES_MEALPLAN --- controllers/SystemController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/SystemController.php b/controllers/SystemController.php index 119964cf..4371f632 100644 --- a/controllers/SystemController.php +++ b/controllers/SystemController.php @@ -102,7 +102,7 @@ class SystemController extends BaseController } // Meal Plan - if ($entryPage === 'mealplan' && constant('GROCY_FEATURE_FLAG_RECIPES')) + if ($entryPage === 'mealplan' && constant('GROCY_FEATURE_FLAG_RECIPES_MEALPLAN')) { return '/mealplan'; }