Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Undefined index: name Notice in civicrm_api3_message_template_send #25288

Conversation

artfulrobot
Copy link
Contributor

@artfulrobot artfulrobot commented Jan 6, 2023

The code assumed that each item of the spec had a 'name' key, but this not so.

(I think this PR is the fix. I do wonder why you need 'name' though here - could use $field?)

Tagging @eileenmcnaughton as came in in this commit: cac79b2

@civibot
Copy link

civibot bot commented Jan 6, 2023

(Standard links)

@civibot civibot bot added the master label Jan 6, 2023
@eileenmcnaughton
Copy link
Contributor

test this please

@eileenmcnaughton
Copy link
Contributor

My general feeling here is we should create a good v4 api for email & focus our energy there - which means that my feeling on this is 'if it makes the notice go away then OK'

@demeritcowboy demeritcowboy merged commit 32c82da into civicrm:master Jan 7, 2023
@artfulrobot
Copy link
Contributor Author

@eileenmcnaughton yes, I agree re good api for email on api4. Thanks for merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants