From 173cf1e8bedbb67cb77be7b28734707ba8c0d966 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 16 Nov 2007 13:28:26 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20bug=20sur=20la=20cr=E9ation=20des=20cat?= =?UTF-8?q?=E9gories?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/fourn/stats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/stats.php b/htdocs/fourn/stats.php index a43e5bf0528..79bb7e3dbfc 100644 --- a/htdocs/fourn/stats.php +++ b/htdocs/fourn/stats.php @@ -96,7 +96,7 @@ if ($search_ville) } $sql .= " AND ca.year > (date_format(now(),'%Y') - 5)"; -$sql .= " ORDER BY ".$sortfield $sortorder $db->plimit($conf->liste_limit+1, $offset); +$sql .= " ORDER BY $sortfield $sortorder " . $db->plimit($conf->liste_limit+1, $offset); dolibarr_syslog("fourn/stats.php sql=".$sql); $resql = $db->query($sql);