]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
fix mobile-view
[friendica.git] / boot.php
index 6e1951bffdaed607090a7b5988bfcb1f95f47cb2..fbef7fa34f45adc00456915b37203b7dcaef0e54 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -1485,8 +1485,11 @@ if(! function_exists('current_theme')) {
 
                                if($theme_name === '---') {
                                        // user has selected to have the mobile theme be the same as the normal one
-                                       $system_theme = '';
-                                       $theme_name = '';
+                                       $system_theme = $standard_system_theme;
+                                       $theme_name = $standard_theme_name;
+                                       
+                                       if($page_theme)
+                                               $theme_name = $page_theme;
                                }
                        }
                }