mirror of
https://github.com/unraid/webgui.git
synced 2026-01-14 05:30:07 -06:00
fix: PHP8 bug in Translations.php
This commit is contained in:
@@ -165,7 +165,7 @@ foreach($uri as $more) {
|
||||
}
|
||||
}
|
||||
// help text
|
||||
if ($_SERVER['REQUEST_URI'][0]=='/') {
|
||||
if ($_SERVER['REQUEST_URI'][0]??''=='/') {
|
||||
if (!file_exists($help)) file_put_contents($help,serialize(parse_help_file($root)));
|
||||
$language = array_merge($language,unserialize(file_get_contents($help)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user