diff --git a/ecrire/inc_mots.php3 b/ecrire/inc_mots.php3
index 175adefe7e02ec071c8dc7571f6389507298640a..3b04b1e92efed0845e31a69541a1339f6f3847d6 100644
--- a/ecrire/inc_mots.php3
+++ b/ecrire/inc_mots.php3
@@ -74,7 +74,7 @@ function mots_ressemblants($mot, $table_mots, $table_ids='') {
 
 	if (!$nb) return '';
 	reset($selection);
-	if ($opt != -1) {
+	if ($opt > -1) {
 		$moy = 1;
 		while(list(, $val) = each($selection)) $moy *= $val;
 		if($moy) $moy = pow($moy, 1.0/$nb);