bug fixes following merge

This commit is contained in:
zebardy 2020-02-19 01:56:35 +00:00
parent 5402319a2c
commit a88a9953bd
3 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,8 @@
namespace Grocy\Controllers;
use \Grocy\Services\RecipesService;
class RecipesController extends BaseController
{
public function __construct(\DI\Container $container)

View File

@ -2,6 +2,8 @@
namespace Grocy\Controllers;
use \Grocy\Services\DatabaseMigrationService;
class SystemController extends BaseController
{

View File

@ -107,7 +107,7 @@ class CalendarService extends BaseService
'title' => $titlePrefix . FindObjectInArrayByPropertyValue($recipes, 'id', $recipeOfCurrentDay->includes_recipe_id)->name,
'start' => FindObjectInArrayByPropertyValue($recipes, 'id', $recipeOfCurrentDay->recipe_id)->name,
'date_format' => 'date',
'description' => $this->UrlManager()->ConstructUrl('/mealplan' . '?week=' . FindObjectInArrayByPropertyValue($recipes, 'id', $recipeOfCurrentDay->recipe_id)->name)
'description' => $this->UrlManager->ConstructUrl('/mealplan' . '?week=' . FindObjectInArrayByPropertyValue($recipes, 'id', $recipeOfCurrentDay->recipe_id)->name)
);
}
}