|
|
@ -114,7 +114,7 @@ function fulcrm_webhook_createupdate_entity( $data ) {
|
|
|
|
$fulcrm_pk = $fulcrm_pk,
|
|
|
|
$fulcrm_pk = $fulcrm_pk,
|
|
|
|
$entity_type = $return[ 'entity_type' ],
|
|
|
|
$entity_type = $return[ 'entity_type' ],
|
|
|
|
$bundle = array_key_exists( 'bundle', $return ) ? $return[ 'bundle' ] : $return[ 'entity_type' ],
|
|
|
|
$bundle = array_key_exists( 'bundle', $return ) ? $return[ 'bundle' ] : $return[ 'entity_type' ],
|
|
|
|
$entity_id = $return[ 'entity_id' ],
|
|
|
|
$entity_id = $return[ 'entity_id' ]
|
|
|
|
);
|
|
|
|
);
|
|
|
|
return $return;
|
|
|
|
return $return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|