diff --git a/module/search/search.php b/module/search/search.php index 89f9849a..9cc9d8e9 100755 --- a/module/search/search.php +++ b/module/search/search.php @@ -213,7 +213,8 @@ class search extends common { $t = preg_replace($motclef, '\1',$t); // Sauver résultat $resultat .= '

'.$t.'...

'; - $resultat .= '

'.count($matches[0]) . ' occurence(s)

'; + $o = count($matches[0]) === 1 ? ' occurence

' : ' occurences

'; + $resultat .= '

'.count($matches[0]) . $o; //} return ([ 'matches' => count($matches[0]),