It took me a while to figure this one out (after creating many salsa records with just an email address).

Perhaps a new function could be created called salsa_get_supporter_add_on_failure() that provides this functionality, so that salsa_get_supporter could simply works as is intuitive.

Or, a new argument could be added that would indicate whether a record should be added on failure.

Comments

jcnventura’s picture

Hello,

Yes, a parameter to select whether an add will be performed or not is a good idea.. In most cases, you want to get a supporter key for that e-mail, so it was useful to make it like it is now.. But indeed, it may be useful to only be able to check if one exists or not.

jcnventura’s picture

Issue summary: View changes
Status: Active » Closed (outdated)