Skip to content

Commit 48c6bf9

Browse files
committed
Fix default languages and ignoreLanguages
1 parent 670e539 commit 48c6bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ExcelMessageController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ protected function updateMessageFiles($messages, $config)
320320
protected function languageIncluded($language)
321321
{
322322
if ($this->languages===null) {
323-
return $this->ignoreLanguages===null ? false : in_array($language, explode(',', $this->ignoreLanguages));
323+
return $this->ignoreLanguages===null ? true : !in_array($language, explode(',', $this->ignoreLanguages));
324324
} else {
325325
return in_array($language, explode(',', $this->languages));
326326
}

0 commit comments

Comments
 (0)