From 030939e013868c571058d789e6465f8e855c04fe Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 3 Jan 2021 22:42:16 +0100 Subject: [PATCH] Typo --- controllers/RecipesController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/RecipesController.php b/controllers/RecipesController.php index d882aa82..ab999565 100644 --- a/controllers/RecipesController.php +++ b/controllers/RecipesController.php @@ -117,7 +117,7 @@ class RecipesController extends BaseController { $pos2 = $this->getDatabase()->recipes_pos_resolved()->where('recipe_id = :1 AND recipe_pos_id = :2 AND is_nested_recipe_pos = 1', $selectedRecipe->id, $pos->recipe_pos_id)->fetch(); $pos->recipe_amount = $pos2->recipe_amount; - $pos->missing_amount = $pos2->recipe_amount; + $pos->missing_amount = $pos2->missing_amount; } } }