mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix warning
This commit is contained in:
parent
d2345ea96c
commit
ede38dec30
|
|
@ -486,7 +486,9 @@ function createThirdParty($authentication, $thirdparty)
|
|||
foreach ($extrafields->attributes[$elementtype]['label'] as $key => $label)
|
||||
{
|
||||
$key = 'options_'.$key;
|
||||
$newobject->array_options[$key] = $thirdparty[$key];
|
||||
if (isset($thirdparty[$key])) {
|
||||
$newobject->array_options[$key] = $thirdparty[$key];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user