From 1541be879039f013748e65e6d34721e80b53ff3c Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Thu, 2 Oct 2014 08:40:51 +0200 Subject: [PATCH] FIXME $key is not defined (strict mode) --- htdocs/core/modules/modProduct.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/core/modules/modProduct.class.php b/htdocs/core/modules/modProduct.class.php index 87dbc3e6dde..5a2053f85ff 100644 --- a/htdocs/core/modules/modProduct.class.php +++ b/htdocs/core/modules/modProduct.class.php @@ -210,7 +210,8 @@ class modProduct extends DolibarrModules { // Exports product multiprice $r++; - $this->export_code[$r]=$this->rights_class.'_'.$key; + //$this->export_code[$r]=$this->rights_class.'_'.$key; // FIXME $key is not defined + $this->export_code[$r]=$this->rights_class; $this->export_label[$r]="ProductsMultiPrice"; // Translation key (used only if key ExportDataset_xxx_z not found) $this->export_permission[$r]=array(array("produit","export")); $this->export_fields_array[$r]=array('p.rowid'=>"Id",'p.ref'=>"Ref",