fix nb mots
This commit is contained in:
1 parent
895cf0adda
commit
add4f47ad7
2 files changed
+16
-6
No files matched your search
@@ -32,7 +32,9 @@ function dico($longueur_max) {
|
||||
$mots = explode(CASE_NOIRE, $mot);
|
||||
$nb_mots = count($mots);
|
||||
$mot = implode("", $mots);
|
||||
$definition .= "#$nb_mots";
|
||||
foreach($definitions as $i => $definition) {
|
||||
$definitions[$i] = "$definition#$nb_mots";
|
||||
}
|
||||
}
|
||||
|
||||
$dico[strlen($mot)][$mot] = $definitions;
|
||||
|
||||
Reference in new issue
Block a user