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

Notice fixes in advanced search #22956

Merged
merged 1 commit into from
Mar 17, 2022
Merged

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Fix smarty notices

Before

Smarty notices in grumpy mode
image

After

image

Help still works

image

Technical Details

This assign is never actually used anywhere
{capture assign=helpFile}{if $fieldSpec.help}{$fieldSpec.help}{else}''{/if}{/capture}
I think it was a good intention - we can see by the surrounding lines that $help should be an array

Comments

@civibot
Copy link

civibot bot commented Mar 16, 2022

(Standard links)

@civibot civibot bot added the master label Mar 16, 2022
@demeritcowboy demeritcowboy merged commit f3b32a9 into civicrm:master Mar 17, 2022
@demeritcowboy
Copy link
Contributor

This assign is never actually used anywhere
{capture assign=helpFile}{if $fieldSpec.help}{$fieldSpec.help}{else}''{/if}{/capture}
I think it was a good intention - we can see by the surrounding lines that $help should be an array

(grin) Looks like this was originally partly copy/pasted from sketches in https://lab.civicrm.org/dev/core/-/issues/115

@eileenmcnaughton eileenmcnaughton deleted the notice4 branch March 17, 2022 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants