aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index 71fc9b909..cc916c600 100755
--- a/boot.php
+++ b/boot.php
@@ -1833,7 +1833,7 @@ function current_theme(){
// The default is for channel themes to take precedence over your own on pages belonging
// to that channel.
- if($page_theme && local_channel() && local_channel() != App::$profile_url) {
+ if($page_theme && local_channel() && App::$profile_uid && local_channel() != App::$profile_uid) {
if(get_pconfig(local_channel(),'system','always_my_theme'))
$page_theme = null;
}