phpbb/phpbb3 — pull request #1439 by erangamapa (2013-05-25 05:34:42+00:00)
Title: [ticket/11145] Wrong error thrown when uploading a bigger image.

When attaching an image to a post with a size larger than maximum defined in
php.ini, 'ATTACHED_IMAGE_NOT_IMAGE' error is thrown. $file->is_image() is
returning false value when image size is too large. Therefore, moved
not image test down after image size test.

PHPBB3-11145