From: Roland Häder Date: Thu, 16 Jun 2022 18:58:24 +0000 (+0200) Subject: Fix for non-existing record system.mobile_theme in config table X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=45b5f67bcae597bf79d999f4c8b2c08b46a76ce3;p=friendica.git Fix for non-existing record system.mobile_theme in config table --- diff --git a/src/Model/Profile.php b/src/Model/Profile.php index aa027a860b..7a65727702 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -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') ?? ''); } /*