From e9854661a1714a7ad6bd038c2393729c11005527 Mon Sep 17 00:00:00 2001
From: Fil <fil@rezo.net>
Date: Mon, 12 Dec 2005 23:03:39 +0000
Subject: [PATCH] la modif [5115] n'etait pas bonne puisqu'elle plantait {par
 #ENV{tri},points}

---
 ecrire/inc_abstract_sql.php3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecrire/inc_abstract_sql.php3 b/ecrire/inc_abstract_sql.php3
index 25f8d412f1..6c6c6326ed 100644
--- a/ecrire/inc_abstract_sql.php3
+++ b/ecrire/inc_abstract_sql.php3
@@ -52,7 +52,7 @@ function spip_abstract_select (
 		}
 	}
 	return $f($select, $from, $where,
-		  $groupby, $orderby, $limit,
+		  $groupby, array_filter($orderby), $limit,
 		  $sousrequete, $cpt,
 		  $table, $id, $serveur);
 }
-- 
GitLab