We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a94b5c3 commit 63690f4Copy full SHA for 63690f4
src/crm/api/handler/EntityAPIHandler.php
@@ -416,7 +416,7 @@ public function setRecordProperties($recordDetails)
416
foreach ($recordDetails as $key => $value) {
417
if ("id" == $key) {
418
$this->record->setEntityId($value);
419
- } else if ("Product_Details" == $key && array_key_exists(APIConstants::INVENTORY_MODULES, $this->record->getModuleApiName())) {
+ } else if ("Product_Details" == $key && array_key_exists($this->record->getModuleApiName(), APIConstants::INVENTORY_MODULES)) {
420
$this->setInventoryLineItems($value);
421
} else if ("Participants" == $key && $this->record->getModuleApiName() == "Events") {
422
$this->setParticipants($value);
0 commit comments