Skip to content

Commit 548f7b9

Browse files
committed
fix: warning on suitcrm account job
1 parent bf57528 commit 548f7b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forms-bridge/addons/suitecrm/jobs/account.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ function forms_bridge_suitecrm_create_account( $payload, $bridge ) {
229229
return $response;
230230
}
231231

232-
$account_id = $response['data']['entry_list'][0]['id'];
232+
$account_id = $response['data']['entry_list'][0]['id'] ?? null;
233233
if ( ! empty( $account_id ) ) {
234234
$response = $bridge->patch(
235235
array(

0 commit comments

Comments
 (0)