From 2235f0d029792367503ecef8508c8631f86ac599 Mon Sep 17 00:00:00 2001 From: Thomas Rubini <74205383+ThomasRubini@users.noreply.github.com> Date: Thu, 26 Jan 2023 22:43:30 +0100 Subject: [PATCH] Fix RECIPE to INSTRUCTIONS --- Models/RecipeModel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Models/RecipeModel.php b/Models/RecipeModel.php index 9cb3d86..874a1ed 100644 --- a/Models/RecipeModel.php +++ b/Models/RecipeModel.php @@ -78,7 +78,7 @@ final class RecipeModel } private static function createFromRow($A_row, $I_ID){ - $O_recipe = RecipeModel::createFull($A_row["NAME"], $A_row["TIME"], $A_row["DESCR"], $A_row["RECIPE"], $A_row["DIFFICULTY_ID"], $A_row["AUTHOR_ID"]); + $O_recipe = RecipeModel::createFull($A_row["NAME"], $A_row["TIME"], $A_row["DESCR"], $A_row["INSTRUCTIONS"], $A_row["DIFFICULTY_ID"], $A_row["AUTHOR_ID"]); $O_recipe->I_ID = $I_ID; return $O_recipe; }