fix parameter order
This commit is contained in:
parent
ca4ce8afe6
commit
fc2a8dbd1f
@ -127,12 +127,11 @@ function fulcrm_webhook_createupdate_entity( $data ) {
|
||||
$function( $return );
|
||||
|
||||
if ( array_key_exists( 'entity', $return ) ) {
|
||||
fulcrm_webhook_set_entity_mapping( $fulcrm_type = $fulcrm_type,
|
||||
$fulcrm_pk = $fulcrm_pk,
|
||||
$entity_type = $return[ 'entity_type' ],
|
||||
fulcrm_webhook_set_entity_mapping( $entity_type = $return[ 'entity_type' ],
|
||||
$bundle = array_key_exists( 'bundle', $return ) ? $return[ 'bundle' ] : $return[ 'entity_type' ],
|
||||
$entity_id = $return[ 'entity_id' ]
|
||||
);
|
||||
$entity_id = $return[ 'entity_id' ],
|
||||
$fulcrm_type = $fulcrm_type,
|
||||
$fulcrm_pk = $fulcrm_pk );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user