]> git.mxchange.org Git - friendica.git/commitdiff
Fix for non-existing record system.mobile_theme in config table
authorRoland Häder <roland@mxchange.org>
Thu, 16 Jun 2022 18:58:24 +0000 (20:58 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 17 Jun 2022 15:18:31 +0000 (17:18 +0200)
src/Model/Profile.php

index aa027a860b43fc69eb0d0a102926a24bb7ba4723..7a65727702ad6f25cea5b904bed201f31f95988f 100644 (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') ?? '');
                }
 
                /*