fixed typo + changed placeholder name

This commit is contained in:
Capelier-Marla 2023-01-23 15:11:44 +01:00
parent 78d1704d6e
commit 9cf82497a6
3 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ final class ApprModel {
$rows = $stmt->fetchAll();
foreach($rows as &$row) {
$row["AUTHOR_IMG_LINK"] = "/static/img/user.jpg";
$row["AUTHOR_IMG_LINK"] = "/static/img/users/1.jpg";
}
return $rows;

View File

@ -17,7 +17,7 @@
<?php
foreach ($A_view["APPRS"] as $A_appr){
$A_appr["SHOW_REMOVE_BUTTON"] = $B_view["ADMIN"];
$A_appr["SHOW_REMOVE_BUTTON"] = $A_view["ADMIN"];
View::show("appreciations/appreciation", $A_appr);
}
?>

View File

@ -2,7 +2,7 @@
<main>
<img src="<?= $A_view["IMAGE_LINK"] ?>" alt="Image d'illustration de la recette">
<img src="<?= $A_view["IMG_LINK"] ?>" alt="Image d'illustration de la recette">
<section class="infosRecette">
<header>