From b67ea0a034a7b41034ebddc3cb45a72586504506 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 23 Apr 2009 08:18:22 +0000 Subject: [PATCH] Fix: Fix serious bug in associated products. --- htdocs/product/sousproduits/fiche.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/htdocs/product/sousproduits/fiche.php b/htdocs/product/sousproduits/fiche.php index 4fe27255643..175d46713d3 100644 --- a/htdocs/product/sousproduits/fiche.php +++ b/htdocs/product/sousproduits/fiche.php @@ -184,8 +184,11 @@ if ($id || $ref) { $productstatic->id=$value[1]; $productstatic->type=0; - $productstatic->ref=$value[0]; - print $productstatic->getNomUrl(1).'
'; + //$productstatic->ref=$value[0]; + //var_dump($value); + //print '
'.$productstatic->ref.'
'; + //print $productstatic->getNomUrl(1).'
'; + print $value[0]; // This contains a tr line. } @@ -344,7 +347,7 @@ if ($action == '') if ( $user->rights->produit->creer) { - print ''.$langs->trans("EditAssociate").''; + print ''.$langs->trans("EditAssociate").''; }