Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #11342 [2.3][Form] Check if IntlDateFormatter constructor returne…
…d a valid object before using it (romainneutron) This PR was merged into the 2.3 branch. Discussion ---------- [2.3][Form] Check if IntlDateFormatter constructor returned a valid object before using it | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT `IntlDateFormatter` constructor [may return false](http://www.php.net/manual/en/intldateformatter.create.php#refsect1-intldateformatter.create-returnvalues). This patches avoids fatal errors in these cases This PR replaces #11334 Commits ------- ebf967d [Form] Check if IntlDateFormatter constructor returned a valid object before using it
- Loading branch information