FIXME $key is not defined (strict mode)
This commit is contained in:
parent
f0551fe6d2
commit
1541be8790
@ -210,7 +210,8 @@ class modProduct extends DolibarrModules
|
|||||||
{
|
{
|
||||||
// Exports product multiprice
|
// Exports product multiprice
|
||||||
$r++;
|
$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_label[$r]="ProductsMultiPrice"; // Translation key (used only if key ExportDataset_xxx_z not found)
|
||||||
$this->export_permission[$r]=array(array("produit","export"));
|
$this->export_permission[$r]=array(array("produit","export"));
|
||||||
$this->export_fields_array[$r]=array('p.rowid'=>"Id",'p.ref'=>"Ref",
|
$this->export_fields_array[$r]=array('p.rowid'=>"Id",'p.ref'=>"Ref",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user