diff --git a/include/class.i18n.php b/include/class.i18n.php index 7335495d5bd75ecdc9547a27d5af35f8f5de5076..2c4d658f168ef7f0a914aa7869bb8a943ddf4ace 100644 --- a/include/class.i18n.php +++ b/include/class.i18n.php @@ -145,7 +145,7 @@ class Internationalization { // Consider all subdirectories and .phar files in the base dir $dirs = glob(I18N_DIR . '*', GLOB_ONLYDIR | GLOB_NOSORT); - $phars = glob(I18N_DIR . '*.phar', GLOB_NOSORT); + $phars = glob(I18N_DIR . '*.phar', GLOB_NOSORT) ?: array(); $installed = array(); foreach (array_merge($dirs, $phars) as $f) {