Fix for non-existing record system.mobile_theme in config table

This commit is contained in:
Roland Häder 2022-06-16 20:58:24 +02:00
parent 5c9ce790bf
commit 45b5f67bca

View File

@ -237,7 +237,7 @@ class Profile
if (!local_user()) {
$a->setCurrentTheme($profile['theme']);
$a->setCurrentMobileTheme(DI::pConfig()->get($a->getProfileOwner(), 'system', 'mobile_theme'));
$a->setCurrentMobileTheme(DI::pConfig()->get($a->getProfileOwner(), 'system', 'mobile_theme') ?? '');
}
/*