diff --git a/Models/RecipeModel.php b/Models/RecipeModel.php index 1bc0641..88d8b09 100644 --- a/Models/RecipeModel.php +++ b/Models/RecipeModel.php @@ -20,7 +20,7 @@ final class RecipeModel $A_recipe = self::getRecipeByID($I_id); if ($A_recipe === null)return null; - $A_recipe["IMAGE_URL"] = "/static/img/recipes/".$A_recipe["ID"].".jpg"; + $A_recipe["IMG_LINK"] = "/static/img/recipes/".$A_recipe["ID"].".jpg"; $O_ingredientModel = new IngredientModel(); $A_recipe["INGREDIENTS"] = $O_ingredientModel->searchByRecipe($A_recipe["ID"]); diff --git a/Views/recipe/view.php b/Views/recipe/view.php index 99bcce2..32ade32 100644 --- a/Views/recipe/view.php +++ b/Views/recipe/view.php @@ -2,7 +2,7 @@
- " alt="Image d'illustration de la recette"> + " alt="Image d'illustration de la recette">