Skip to content

Commit

Permalink
FIXME $key is not defined (strict mode)
Browse files Browse the repository at this point in the history
  • Loading branch information
hregis committed Oct 2, 2014
1 parent f0551fe commit 1541be8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion htdocs/core/modules/modProduct.class.php
Expand Up @@ -210,7 +210,8 @@ function __construct($db)
{
// 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",
Expand Down

0 comments on commit 1541be8

Please sign in to comment.