diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/App/CodeChecker/LanguageParseChecker.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/App/CodeChecker/LanguageParseChecker.php b/lib/private/App/CodeChecker/LanguageParseChecker.php index 29331d1e648..35354869339 100644 --- a/lib/private/App/CodeChecker/LanguageParseChecker.php +++ b/lib/private/App/CodeChecker/LanguageParseChecker.php @@ -35,6 +35,10 @@ class LanguageParseChecker { throw new \RuntimeException("No app with given id <$appId> known."); } + if (!is_dir($appPath . '/l10n/')) { + return []; + } + $errors = []; $directory = new \DirectoryIterator($appPath . '/l10n/'); |