From c3c57e582c22c8070a64f1a89cadf2af6b2cb127 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Fri, 10 Jul 2020 02:05:53 +0900 Subject: [PATCH] Fix #1348 apply xpressengine/xe-core#2148 --- classes/module/ModuleHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/module/ModuleHandler.class.php b/classes/module/ModuleHandler.class.php index a38e065df..f2e21873e 100644 --- a/classes/module/ModuleHandler.class.php +++ b/classes/module/ModuleHandler.class.php @@ -786,7 +786,7 @@ class ModuleHandler extends Handler Context::addHtmlFooter($footer); } - if($type == "view" && $kind != 'admin') + if(($type === 'view' || $type === 'mobile') && $kind !== 'admin') { $domain_info = Context::get('site_module_info'); if ($domain_info && $domain_info->settings && $domain_info->settings->html_header)