diff --git a/htdocs/compta/clients.php b/htdocs/compta/clients.php index 69c9b8a427a..6d1703ef5f8 100644 --- a/htdocs/compta/clients.php +++ b/htdocs/compta/clients.php @@ -54,6 +54,7 @@ if ($sortfield == "") { $sortfield="nom"; } +// \todo code encore utilisé ? if ($action=='add_action') { /* * Vient de actioncomm.php @@ -224,7 +225,7 @@ if ($result) { $sortorder="DESC"; } - print ''; + print '
'; print '"; @@ -259,7 +260,7 @@ if ($result) } else { - print $db->error() . ' ' . $sql; + dolibarr_print_error($db); } $db->close();
'; print_liste_field_titre("Société","clients.php","s.nom"); print "Ville