Fix meal plan start page requirements

This commit is contained in:
Lewis Juggins 2019-10-10 17:47:28 +01:00
parent 744fd03633
commit 3fa6008d6d

View File

@ -87,7 +87,7 @@ class SystemController extends BaseController
} }
// Meal Plan // Meal Plan
if ($entryPage === 'mealplan' && constant('GROCY_FEATURE_FLAG_RECIPES')) { if ($entryPage === 'mealplan' && constant('GROCY_FEATURE_FLAG_RECIPES') && constant('GROCY_FEATURE_FLAG_CALENDAR')) {
return '/mealplan'; return '/mealplan';
} }