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