Review TYPO3_6-2 Merged

32806[BUGFIX] Follow up: Remove PHP warnings when no icon is found

Wouter Wolters CR +2 V +2 Easy +3 −3 updated 09/16/14, 13:52

Commit message

With https://review.typo3.org/32616/ a check with file_exists() was
introduced to prevent warnings on accessing non-image files. The check
returns true for files and folders. Now warnings are thrown, if an image
icon links to a folder. This patch replaces file_exists() with is_file()
to prevent further warnings.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1