diff --git a/Views/appreciations/view_single.php b/Views/appreciations/view_single.php index 8c64d4e..3a119ce 100644 --- a/Views/appreciations/view_single.php +++ b/Views/appreciations/view_single.php @@ -8,7 +8,12 @@
Le = $O_appr->S_DATE ?>
= $O_appr->I_NOTE ?>/5
- I_AUTHOR_ID) { ?> + I_AUTHOR_ID && $O_appr->I_AUTHOR_ID !== null) + ); + if ($B_can_delete) { ?> Supprimer l'appréciation diff --git a/Views/recipe/view.php b/Views/recipe/view.php index f5783dc..cdd8e20 100644 --- a/Views/recipe/view.php +++ b/Views/recipe/view.php @@ -37,7 +37,12 @@ $O_recipe = $A_view["RECIPE"];By = $O_recipe->getAuthorOrAnon()->S_USERNAME ?>
- I_AUTHOR_ID) { ?> + I_AUTHOR_ID && $O_appr->I_AUTHOR_ID !== null) + ); + if ($B_can_interact) { ?>