From 3f2a69573e050e77e97bd080b944c253cce1ae4d Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 8 Jun 2006 14:34:36 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20la=20soci=E9t=E9=20n'=E9tait=20pas=20s?= =?UTF-8?q?=E9lectionn=E9e=20par=20d=E9faut=20dans=20la=20liste=20d=E9roul?= =?UTF-8?q?ante?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/commande/contact.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/commande/contact.php b/htdocs/commande/contact.php index 7d6e3d6f78f..8224a2abae8 100644 --- a/htdocs/commande/contact.php +++ b/htdocs/commande/contact.php @@ -250,8 +250,11 @@ if ($id > 0) print ''; // Customer + if ( is_null($commande->client) ) + $commande->fetch_client(); + print "".$langs->trans("Company").""; - print ''.$soc->getNomUrl(1).''; + print ''.$commande->client->getNomUrl(1).''; print ""; print '';