Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Commit 9ba609e

Browse files
committed
Fix langFiles usage
1 parent 5342682 commit 9ba609e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ private function allocateLocaleArray($path)
203203
continue;
204204
}
205205

206-
if (!empty($langFiles) && !in_array($noExt, $langFiles)) {
206+
if (!is_null($this->config['langFiles']) && !empty($this->config['langFiles']) && !in_array($noExt, $this->config['langFiles'])) {
207207
continue;
208208
}
209209

0 commit comments

Comments
 (0)