Fix scrutinizer
This commit is contained in:
parent
df8fff843c
commit
8e8199cc0f
@ -2374,7 +2374,7 @@ class Ticket extends CommonObject
|
|||||||
if (file_exists($dir_osencoded)) {
|
if (file_exists($dir_osencoded)) {
|
||||||
$handle = opendir($dir_osencoded);
|
$handle = opendir($dir_osencoded);
|
||||||
if (is_resource($handle)) {
|
if (is_resource($handle)) {
|
||||||
while (($file = readdir($handle)) != false) {
|
while (($file = readdir($handle)) !== false) {
|
||||||
if (!utf8_check($file)) {
|
if (!utf8_check($file)) {
|
||||||
$file = utf8_encode($file);
|
$file = utf8_encode($file);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user