diff --git a/ecrire/inc/indexation.php b/ecrire/inc/indexation.php index c4a2b007677b6fc8634345407ef89a65862847b6..96d328b8b0c3d175b579086729e4ebd45dc749c7 100644 --- a/ecrire/inc/indexation.php +++ b/ecrire/inc/indexation.php @@ -435,8 +435,9 @@ function indexer_les_champs(&$row,&$index_desc,$ponderation = 1){ if (!function_exists($func)) { spip_log("Erreur - $func n'est pas definie (indexation)"); } - // appliquer le filtre - $texte = $func($texte); + else + // appliquer le filtre + $texte = $func($texte); } } //spip_log(":$quoi:$poids:$texte");