Skip to content
Snippets Groups Projects
Commit 799f31f8 authored by Sofiane Lasri's avatar Sofiane Lasri
Browse files

remove html_special char for $recetteContent

parent 44391fb9
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ class Recette{
// Envoyer une recette
public static function sendRecette($recetteTitle, $recetteContent, $recetteDescription, $recetteCategory, $recetteIngredients, $recettePreparation, $recetteUstensiles, $recetteHeaderPic, $recetteDifficulte){
$recetteTitle = utf8_encode(htmlspecialchars($recetteTitle));
$recetteContent = utf8_encode(htmlspecialchars($recetteContent));
$recetteContent = utf8_encode($recetteContent);
$recetteDescription = utf8_encode(htmlspecialchars($recetteDescription));
$quantite = 1; // Je suis un boulet j'ai oublié ça xD
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment