From 3d3728c5f29cb004e15b87274b1616494f93d908 Mon Sep 17 00:00:00 2001
From: "Committo,Ergo:sum" <esj@rezo.net>
Date: Tue, 12 Jul 2005 20:20:33 +0000
Subject: [PATCH] =?UTF-8?q?default=5Forder=20n'=C3=A9tait=20pas=20en=20ord?=
 =?UTF-8?q?re?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 inc-criteres.php3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc-criteres.php3 b/inc-criteres.php3
index 0349ab8ed6..92d0702d24 100644
--- a/inc-criteres.php3
+++ b/inc-criteres.php3
@@ -569,7 +569,7 @@ function calculer_critere_DEFAUT($idb, &$boucles, $crit) {
 	      if ($crit->not) {
 		$where = "NOT ($where)";
 	      } else {
-			$boucle->default_order = 'rang';
+			$boucle->default_order = array('rang');
 			$boucle->select[]= "FIND_IN_SET($ct, \\\"'\" . " . $val . ' . "\'\\") AS rang';
 	      }
 	    } else {
-- 
GitLab