Fix warning

This commit is contained in:
Laurent Destailleur 2021-01-01 20:56:34 +01:00
parent d2345ea96c
commit ede38dec30

View File

@ -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];
}
}
}