Merge pull request #156 from ThomasRubini/fix

Fix RECIPE to INSTRUCTIONS
This commit is contained in:
Djalim Simaila 2023-01-26 22:44:49 +01:00 committed by GitHub
commit bc1e47d6e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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