Skip to content

Commit ed47d6f

Browse files
committed
Remove first condition, to allow these kind of files
1 parent 91712a1 commit ed47d6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Phpbb/TranslationValidator/Validator/FileListValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public function validate()
202202
$this->output->addMessage($level, 'Found additional file', $origin_file);
203203
}
204204

205-
if (substr($origin_file, -13 ) === 'site_logo.gif' || substr($origin_file, -14 ) === '/site_logo.gif')
205+
if (substr($origin_file, -14) === '/site_logo.gif')
206206
{
207207
$this->output->addMessage(Output::FATAL, 'Found additional file', $origin_file);
208208
}

0 commit comments

Comments
 (0)