From d9d0b5086ef8da6dbeb3b598a1fe7597eec41e04 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 6 Sep 2005 16:43:15 +0000 Subject: [PATCH] =?UTF-8?q?Look:=20Limite=20sur=20longueur=20de=20soci=E9t?= =?UTF-8?q?=E9=20affich=E9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/expedition/index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/expedition/index.php b/htdocs/expedition/index.php index 23c4c23409f..f593011a9de 100644 --- a/htdocs/expedition/index.php +++ b/htdocs/expedition/index.php @@ -56,7 +56,6 @@ if ($socidp) { $sql .= " AND c.fk_soc = $socidp"; } - $resql=$db->query($sql); if ($resql) { @@ -108,7 +107,7 @@ if ( $db->query($sql) ) $obj = $db->fetch_object(); print ""; print "rowid\">".img_object($langs->trans("ShowOrder"),"order").' '.$obj->ref.''; - print ''.$obj->nom.''; + print ''.dolibarr_trunc($obj->nom,20).''; $i++; } print "
";