diff --git a/library/Class/MoteurRecherche.php b/library/Class/MoteurRecherche.php index c88b3a92eb03e22dde198d068affc63addb5a216..f161e346ddc260b50e427d05ae27304013077c14 100644 --- a/library/Class/MoteurRecherche.php +++ b/library/Class/MoteurRecherche.php @@ -244,7 +244,7 @@ class Class_MoteurRecherche { public function visitMatiere($matiere_id) { if (!$matiere = Class_Matiere::getLoader()->find($matiere_id)) - continue; + return; if ('' != ($sous_vedettes = trim($matiere->getSousVedettes()))) $valeur .= str_replace(' ', ' M', ' ' . $sous_vedettes);