From b1bc000bae790cdb6814147671f17dc3d0082f88 Mon Sep 17 00:00:00 2001 From: Sergio Sanchis Climent Date: Tue, 27 Oct 2015 09:19:39 +0100 Subject: [PATCH] standardize --- htdocs/core/lib/pdf.lib.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/htdocs/core/lib/pdf.lib.php b/htdocs/core/lib/pdf.lib.php index 0bd13869ce8..0d7f18e1c75 100644 --- a/htdocs/core/lib/pdf.lib.php +++ b/htdocs/core/lib/pdf.lib.php @@ -1088,12 +1088,6 @@ function pdf_getlinedesc($object,$i,$outputlangs,$hideref=0,$hidedesc=0,$issuppl if ($idprod) { $prodser->fetch($idprod); - - //can change ref in hook - if(isset($object->lines[$i]->ref)){ - $prodser->ref = $object->lines[$i]->ref; - } - // If a predefined product and multilang and on other lang, we renamed label with label translated if (! empty($conf->global->MAIN_MULTILANGS) && ($outputlangs->defaultlang != $langs->defaultlang)) {