]> git.mxchange.org Git - friendica.git/commitdiff
fix mobile-view
authorrabuzarus <>
Wed, 1 Jul 2015 14:22:08 +0000 (16:22 +0200)
committerrabuzarus <>
Wed, 1 Jul 2015 14:22:08 +0000 (16:22 +0200)
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;
                                }
                        }
                }