diff --git a/inc-calcul-squel.php3 b/inc-calcul-squel.php3 index 0bfd12ff2d90adeac7ed4956a58c21e2dd3fd693..70db04387db81218129f479bfb4c1c26b8efa946 100644 --- a/inc-calcul-squel.php3 +++ b/inc-calcul-squel.php3 @@ -435,10 +435,10 @@ function parser_boucle($texte, $id_parent) { $req_order = " ORDER BY alea"; } else if ($match[1] == 'titre_mot'){ - $req_order= " ORDER BY lien_mot.titre"; + $req_order= " ORDER BY mots.titre"; } else if ($match[1] == 'type_mot'){ - $req_order= " ORDER BY lien_mot.type"; + $req_order= " ORDER BY mots.type"; } else if ($match[1] == 'points'){ $req_order= " ORDER BY points";