Changes:
- added some documentation - added type-hints
This commit is contained in:
parent
97904ea7dd
commit
14bf72e4fe
6 changed files with 67 additions and 51 deletions
|
@ -47,7 +47,7 @@ function fbrowser_content(App $a)
|
|||
}
|
||||
|
||||
// Needed to match the correct template in a module that uses a different theme than the user/site/default
|
||||
$theme = Strings::sanitizeFilePathItem($_GET['theme'] ?? null);
|
||||
$theme = Strings::sanitizeFilePathItem($_GET['theme'] ?? '');
|
||||
if ($theme && is_file("view/theme/$theme/config.php")) {
|
||||
$a->setCurrentTheme($theme);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue