Skip to content

Commit 63690f4

Browse files
committed
Issue fixed.
1 parent a94b5c3 commit 63690f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crm/api/handler/EntityAPIHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ public function setRecordProperties($recordDetails)
416416
foreach ($recordDetails as $key => $value) {
417417
if ("id" == $key) {
418418
$this->record->setEntityId($value);
419-
} else if ("Product_Details" == $key && array_key_exists(APIConstants::INVENTORY_MODULES, $this->record->getModuleApiName())) {
419+
} else if ("Product_Details" == $key && array_key_exists($this->record->getModuleApiName(), APIConstants::INVENTORY_MODULES)) {
420420
$this->setInventoryLineItems($value);
421421
} else if ("Participants" == $key && $this->record->getModuleApiName() == "Events") {
422422
$this->setParticipants($value);

0 commit comments

Comments
 (0)