Fix for non-existing record system.mobile_theme in config table
This commit is contained in:
parent
5c9ce790bf
commit
45b5f67bca
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ class Profile
|
||||||
|
|
||||||
if (!local_user()) {
|
if (!local_user()) {
|
||||||
$a->setCurrentTheme($profile['theme']);
|
$a->setCurrentTheme($profile['theme']);
|
||||||
$a->setCurrentMobileTheme(DI::pConfig()->get($a->getProfileOwner(), 'system', 'mobile_theme'));
|
$a->setCurrentMobileTheme(DI::pConfig()->get($a->getProfileOwner(), 'system', 'mobile_theme') ?? '');
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue