From e16da7a1668665d5729478a0ffcd960047dbc201 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 1 Apr 2016 03:27:21 -0700 Subject: unreferenced app member --- boot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3