- cannot have type-hints :-(
This commit is contained in:
Roland Häder 2022-06-20 03:48:12 +02:00
commit cd3b01fd82
Signed by: roland
GPG key ID: C82EDE5DDFA0BA77
2 changed files with 2 additions and 2 deletions

View file

@ -79,7 +79,7 @@ if (!empty($_REQUEST['scheme'])) {
$scheme = $_REQUEST['scheme'];
}
$scheme = Strings::sanitizeFilePathItem($scheme);
$scheme = Strings::sanitizeFilePathItem($scheme ?? '');
if (($scheme) && ($scheme != '---')) {
if (file_exists('view/theme/frio/scheme/' . $scheme . '.php')) {