Skip to content

Commit

Permalink
Fix scrutinizer
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 19, 2019
1 parent df8fff8 commit 8e8199c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/ticket/class/ticket.class.php
Expand Up @@ -2374,7 +2374,7 @@ public function is_photo_available($sdir)
if (file_exists($dir_osencoded)) {
$handle = opendir($dir_osencoded);
if (is_resource($handle)) {
while (($file = readdir($handle)) != false) {
while (($file = readdir($handle)) !== false) {
if (!utf8_check($file)) {
$file = utf8_encode($file);
}
Expand Down

0 comments on commit 8e8199c

Please sign in to comment.