From 85d3e76b8f44dd00ca003dd11fbb4d6e332c623e Mon Sep 17 00:00:00 2001 From: ljm42 Date: Fri, 13 Jan 2023 17:31:42 -0700 Subject: [PATCH] fix: PHP8 bug in Translations.php --- plugins/dynamix/include/Translations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dynamix/include/Translations.php b/plugins/dynamix/include/Translations.php index 8e43c6831..179eb4f38 100644 --- a/plugins/dynamix/include/Translations.php +++ b/plugins/dynamix/include/Translations.php @@ -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))); }