Skip to content

Flatten error array before throwing exception

JonGold requested to merge JonGold/form-processor:flatten-errors into master

Prior to v2.1, this error was being thrown:

Parameter will_the_member_need_to_access_financial_aid_for_center_programs_ is invalid

After installing 2.1.1, it became:

Could not process inputs: Array

The exception has an implode() call, but processInputs() returns a multidimensional array. This outputs the correct error message.

Edited by JonGold

Merge request reports

Loading