Update web service
This commit is contained in:
parent
34c5343103
commit
e4b704f76d
@ -545,11 +545,11 @@ function updateActionComm($authentication,$actioncomm)
|
||||
//Retreive all extrafield for actioncomm
|
||||
// fetch optionals attributes and labels
|
||||
$extrafields=new ExtraFields($db);
|
||||
$extralabels=$extrafields->fetch_name_optionals_label('actioncomm');
|
||||
$extralabels=$extrafields->fetch_name_optionals_label('actioncomm',true);
|
||||
foreach($extrafields->attribute_label as $key=>$label)
|
||||
{
|
||||
$key='options_'.$key;
|
||||
$newobject->array_options[$key]=$actioncomm[$key];
|
||||
$object->array_options[$key]=$actioncomm[$key];
|
||||
}
|
||||
|
||||
$db->begin();
|
||||
|
||||
@ -562,7 +562,7 @@ function updateThirdParty($authentication,$thirdparty)
|
||||
//Retreive all extrafield for thirdsparty
|
||||
// fetch optionals attributes and labels
|
||||
$extrafields=new ExtraFields($db);
|
||||
$extralabels=$extrafields->fetch_name_optionals_label('company');
|
||||
$extralabels=$extrafields->fetch_name_optionals_label('company',true);
|
||||
foreach($extrafields->attribute_label as $key=>$label)
|
||||
{
|
||||
$key='options_'.$key;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user