From b8f31b3b41c433b65b1cbb0847832d1adc592b22 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Wed, 21 Aug 2002 20:40:34 +0000
Subject: [PATCH] il avait raison le bougre ;) Correction finale de {titre_mot}
 et {type_mot}

---
 inc-calcul-squel.php3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc-calcul-squel.php3 b/inc-calcul-squel.php3
index 0bfd12ff2d..70db04387d 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";
-- 
GitLab