From 4917ba31a295d57d0a4a989bcaccc355e49038a3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 20 Feb 2011 22:48:34 +0000 Subject: [PATCH] Fix: Bad links --- htdocs/societe/societe.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/societe/societe.php b/htdocs/societe/societe.php index 1140db8f343..cca07c29ce3 100644 --- a/htdocs/societe/societe.php +++ b/htdocs/societe/societe.php @@ -392,19 +392,19 @@ if ($resql) $s=''; if (($obj->client==1 || $obj->client==3) && empty($conf->global->SOCIETE_DISABLE_CUSTOMERS)) { - $companystatic->nom=$langs->trans("Customer"); + $companystatic->name=$langs->trans("Customer"); $s.=$companystatic->getNomUrl(0,'customer'); } - if ($s) print " / "; if (($obj->client==2 || $obj->client==3) && empty($conf->global->SOCIETE_DISABLE_PROSPECTS)) { - $companystatic->nom=$langs->trans("Prospect"); + if ($s) $s.=" / "; + $companystatic->name=$langs->trans("Prospect"); $s.=$companystatic->getNomUrl(0,'prospect'); } if ($conf->fournisseur->enabled && $obj->fournisseur) { - if ($s) print " / "; - $companystatic->nom=$langs->trans("Supplier"); + if ($s) $s.=" / "; + $companystatic->name=$langs->trans("Supplier"); $s.=$companystatic->getNomUrl(0,'supplier'); } print $s;