This commit is contained in:
Rodolphe Quiedeville 2004-03-02 15:56:12 +00:00
parent 780a3b0a99
commit 9136a2fd16

View File

@ -74,7 +74,7 @@ if ($user->societe_id)
$sql .= " AND s.idp = " .$user->societe_id;
}
if ($socname)
if ($_GET["socname"])
{
$sql .= " AND lower(s.nom) like '%".strtolower($socname)."%'";
$sortfield = "lower(s.nom)";