Fix warning

This commit is contained in:
Laurent Destailleur 2021-01-01 20:56:34 +01:00
parent f756f575a3
commit 48e9c28420

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