Fix : bad name of property when retrieve extrafields for thirdparty

This commit is contained in:
jfefe 2013-02-17 14:37:33 +01:00
parent b9caff8dd0
commit 06398d9077
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ abstract class CommonDocGenerator
{
foreach($object->array_options as $key=>$label)
{
$extrafields['company_options_'.$key] = $label;
$extrafields['company_'.$key] = $label;
}
$array_thirdparty = array_merge($array_thirdparty,$extrafields);
}

View File

@ -865,7 +865,7 @@ class Societe extends CommonObject
}
foreach($extrafields->attribute_label as $key=>$label)
{
$this->array_options[$key]=$label;
$this->array_options['options_'.$key]=$label;
}
}
else