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
    • Wouter Wolters +2
  • Verified V +2
    • Wouter Wolters +2

Issues 1

Files 1

Review log 2

  1. Wouter Wolters voted on patch set 1 V +2 CR +2 09/16/14, 13:52

  2. Wouter Wolters merged patch set 1 09/16/14, 13:52