aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/boot.php b/boot.php
index 1c7e5f147..e2a168156 100755
--- a/boot.php
+++ b/boot.php
@@ -1810,9 +1810,7 @@ function construct_page(&$a) {
if(! count($a->layout)) {
$n = 'mod_' . $a->module . '.pdl' ;
- $u = get_theme_uid();
- if((! $u) && $a->profile_uid)
- $u = $a->profile_uid;
+ $u = comanche_get_channel_id();
if($u)
$s = get_pconfig($u,'system',$n);
if((! $s) && (($p = theme_include($n)) != ''))