Skip to content
Snippets Groups Projects

Wrap ternary expression in parenthesis to avoid PHP TypeError if $value is string

Additionally, cast $value explicitly to string if it's not an array to avoid additional errors

Closes #3498791

For some reason the patch resulting from merge request !26 failed to apply (despite updating the fork from the 2.0.x branch), so hoping this merge request will work instead.

Edited by Peter Epp

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading