Update SystemController.php

Added Sub feature flags FEATURE_FLAG_RECIPES_MEALPLAN
This commit is contained in:
Webysther Sperandio 2023-01-31 02:09:46 +01:00 committed by GitHub
parent d5d5dcb39c
commit 0ecb8e32cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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';
}