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 invalid parameter giving E_WARNING #21255

Merged
merged 1 commit into from
Aug 25, 2021

Conversation

demeritcowboy
Copy link
Contributor

Overview

The third param for a quickform hidden element needs to be null not an empty array if not passing in anything.

Before

  1. Search for contacts.
  2. Choose print/merge document
  3. Warning: htmlspecialchars() expects parameter 1 to be string, array given in HTML_Common->_getAttrString() (line 144 of ...civicrm/packages/HTML/Common.php).

After

Technical Details

Comments

This was just added yesterday

@civibot
Copy link

civibot bot commented Aug 25, 2021

(Standard links)

@civibot civibot bot added the master label Aug 25, 2021
@seamuslee001 seamuslee001 merged commit 9ebae15 into civicrm:master Aug 25, 2021
@demeritcowboy demeritcowboy deleted the not-so-hidden branch August 25, 2021 22:17
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.

2 participants