Fix RECIPE to INSTRUCTIONS

This commit is contained in:
Thomas Rubini 2023-01-26 22:43:30 +01:00
parent 62c6274043
commit 2235f0d029
No known key found for this signature in database
GPG Key ID: C7D287C8C1CAC373

View File

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