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

. ident

parent 9566cfeb
No related branches found
No related tags found
No related merge requests found
......@@ -44,8 +44,7 @@ class Recette{
// Having Count pour les ingredients
if(!empty($ingredients)){
$queryString .= " HAVING COUNT(m_recette.id)="+count($ingredients);
echo $queryString;
$queryString .= " HAVING COUNT(m_recette.id)=".count($ingredients);
}
// On la prépare
$query = Connexion::pdo()->prepare($queryString." ORDER BY nom");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment