Skip to content

[subform] Validation of multiple subform. Fix Invalid argument supplied#25310

Merged
HLeithner merged 1 commit intojoomla:stagingfrom
ReLater:patch-1
Jun 24, 2019
Merged

[subform] Validation of multiple subform. Fix Invalid argument supplied#25310
HLeithner merged 1 commit intojoomla:stagingfrom
ReLater:patch-1

Conversation

@ReLater
Copy link
Copy Markdown
Contributor

@ReLater ReLater commented Jun 24, 2019

Pull Request for Issue #25308

Summary of Changes

  • Add check for empty $value when a multiple subform without rows is sent through validation.

Testing Instructions

Expected result

  • No PHP warning

Actual result

PHP Warning: Invalid argument supplied for foreach() in \libraries\src\Form\Form.php on line 1558

@Quy
Copy link
Copy Markdown
Contributor

Quy commented Jun 24, 2019

I have tested this item ✅ successfully on ae39f01


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25310.

1 similar comment
@richard67
Copy link
Copy Markdown
Member

I have tested this item ✅ successfully on ae39f01


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25310.

@ghost ghost removed the PR-staging label Jun 24, 2019
@ghost
Copy link
Copy Markdown

ghost commented Jun 24, 2019

Status "Ready To Commit".

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jun 24, 2019
@HLeithner HLeithner added this to the Joomla 3.9.9 milestone Jun 24, 2019
@HLeithner HLeithner merged commit 391f4a6 into joomla:staging Jun 24, 2019
@joomla-cms-bot joomla-cms-bot added PR-staging and removed RTC This Pull Request is Ready To Commit labels Jun 24, 2019
@HLeithner
Copy link
Copy Markdown
Member

thx

@ReLater ReLater deleted the patch-1 branch June 24, 2019 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants