Fix: bug sur la cration des catgories

This commit is contained in:
Regis Houssin 2007-11-16 13:28:26 +00:00
parent 10bcacc831
commit 173cf1e8be

View File

@ -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);