[various] Address a couple of PHP8.1 deprecation notices #1319
1 changed files with 1 additions and 2 deletions
|
@ -25,10 +25,9 @@ function startpage_home_init(App $a, $b)
|
|||
}
|
||||
|
||||
$page = DI::pConfig()->get(DI::userSession()->getLocalUserId(), 'startpage', 'startpage');
|
||||
if (strlen($page)) {
|
||||
if ($page) {
|
||||
DI::baseUrl()->redirect($page);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue