From 0f8a113583edc75855a991280b400271cb1abf6e Mon Sep 17 00:00:00 2001 From: Thomas Rubini <74205383+ThomasRubini@users.noreply.github.com> Date: Thu, 26 Jan 2023 13:25:43 +0100 Subject: [PATCH] fix recipe/search view call --- Views/recipe/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Views/recipe/search.php b/Views/recipe/search.php index ad55967..054b399 100644 --- a/Views/recipe/search.php +++ b/Views/recipe/search.php @@ -22,7 +22,7 @@ echo '
Assurez-vous d\'avoir rentré correctement vos termes de recherche ou essayez des mots clefs différents.
'; } else { foreach ($search_results as $key => $value) { - View::show("common/recipe", $value); + View::show("common/recipe", array("RECIPE" => $value)); } } }