diff options
Diffstat (limited to 'public/install.php')
| -rw-r--r-- | public/install.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/install.php b/public/install.php index 6d71969..6562572 100644 --- a/public/install.php +++ b/public/install.php @@ -40,7 +40,7 @@ if (!function_exists('_')) { } else { require_once 'lib/language.inc.php'; - foreach (explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE']) as $lang) { + foreach (explode(',', $_SERVER['HTTP_ACCEPT_LANGUAGE'] ?? '') as $lang) { list($lang, ) = explode(';', $lang); $lang = substr($lang, 0, 2); |
