diff --git a/modules/page/page.mobile.php b/modules/page/page.mobile.php index cd701fc0b..068376858 100644 --- a/modules/page/page.mobile.php +++ b/modules/page/page.mobile.php @@ -121,6 +121,7 @@ class pageMobile extends pageView { $template_path = sprintf("%sskins/%s/",$this->module_path, 'default'); } + $page_content = $oTemplate->compile($template_path, 'content'); } else { @@ -129,10 +130,9 @@ class pageMobile extends pageView { $template_path = sprintf("%sm.skins/%s/",$this->module_path, 'default'); } + $page_content = $oTemplate->compile($template_path, 'mobile'); } - $page_content = $oTemplate->compile($template_path, 'mobile'); - return $page_content; }