Closed artfulrobot closed 3 years ago
There is a feature (and setting) that you can pass the id
to identify the contact, skipping the rules (if enabled). But that only works on the ID.
I guess we just have to filter out contact_id
, I didn't know the API accepts that as civicrm_contact.id
.
added to input sanitation code, see #70
@artfulrobot great catch, thanks!
Will be released with 1.8
released with 1.8
I was surprised to learn, when experimenting with the Contact ID option, that even with nothing in 'fill' or 'override', given a contact whose name is Wilma, the following will change the name to Betty
With the "Match contacts by contact ID" enabled:
Note, however, that this:
This might be an unintended consequence of the way the params feed into API calls used internally, but I couldn't find it as a documented feature, so I think that makes it a :bug:
I realise that the parameters in the 2nd example are the correct ones, but it's common in CiviCRM when dealing with Contacts that
contact_id
is an alias forid
.