Skip to content

Commit

Permalink
fix: check prop exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry Filatov committed Sep 11, 2023
1 parent 157cf06 commit ef48869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/Soap/SoapImportApis.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function importVApp(string $resourcePoolId, $entityConfig, $instantiation
'networkBootProtocol' => $configSpec->bootOptions->networkBootProtocol ?? null,
] : null,
'vAppConfig' => [
'product' => $configSpec->vAppConfig->product ? [
'product' => isset($configSpec->vAppConfig->product) ? [
'operation' => $configSpec->vAppConfig->product->operation ?? null,
'info' => $configSpec->vAppConfig->product->info ? [
'key' => $configSpec->vAppConfig->product->info->key ?? null,
Expand Down

0 comments on commit ef48869

Please sign in to comment.