diff --git a/htdocs/comm/clients.php b/htdocs/comm/clients.php index d40f1e09622..23b04b5723a 100644 --- a/htdocs/comm/clients.php +++ b/htdocs/comm/clients.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004 Laurent Destailleur + * Copyright (C) 2004-2005 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,7 @@ * */ -/** - \file htdocs/comm/clients.php +/** \file htdocs/comm/clients.php \ingroup commercial, societe \brief Liste des clients \version $Revision$ @@ -107,7 +106,7 @@ if ($result) $addu = "&page=$page&begin=$begin&search_nom=".$_GET["search_nom"]; print ''; print ''; - print_liste_field_titre($langs->trans("Companies"),"clients.php","s.nom",$addu,"","",$sortfield); + print_liste_field_titre($langs->trans("Companie"),"clients.php","s.nom",$addu,"","",$sortfield); print_liste_field_titre($langs->trans("CustomerCode"),"clients.php","s.code_client",$addu,"","",$sortfield); print_liste_field_titre($langs->trans("Town"),"clients.php","s.ville",$addu,"","",$sortfield); print "\n"; @@ -146,7 +145,7 @@ if ($result) } else { - print $db->error() . ' ' . $sql; + dolibarr_print_error($db); } $db->close();