Skip to content

fix: [Validation] FileRules cause error if getimagesize() returns false - #8592

Merged
kenjis merged 1 commit into
codeigniter4:developfrom
kenjis:fix-ErrorException-FileRules
Mar 5, 2024
Merged

kenjis merged 1 commit into
codeigniter4:developfrom
kenjis:fix-ErrorException-FileRules

Conversation

@kenjis

@kenjis kenjis commented Feb 27, 2024

Copy link
Copy Markdown
Member

Description
Fixes #8591

ErrorException
Trying to access array offset on value of type bool
SYSTEMPATH/Validation/FileRules.php at line 246

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

ErrorException
Trying to access array offset on value of type bool
@kenjis kenjis added the bug Verified issues on the current code behavior or pull requests that will fix them label Feb 27, 2024
@kenjis
kenjis merged commit 00c2ab9 into codeigniter4:develop Mar 5, 2024
@kenjis
kenjis deleted the fix-ErrorException-FileRules branch March 5, 2024 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Verified issues on the current code behavior or pull requests that will fix them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: max_dims validation error with SVG files

3 participants