From 8e90df65e152db4fd58b0cdbb27ee2e4aba6006a Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 23 Nov 2015 17:05:35 +0000 Subject: [PATCH] Fix mobile theme always opens the Home as first active tab without respecting the last opened tab --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 33d206a2cd..4ad5295eea 100755 --- a/index.php +++ b/index.php @@ -97,7 +97,7 @@ if(@file_exists($tpl_info)) } -if($app == 'home' && !$class && !$api_requested && !($windowed && $_GET['cd'] == 'yes' && !html::$ua_mobile)) +if($app == 'home' && !$class && !$api_requested && !($windowed && $_GET['cd'] == 'yes' && !html::$ua_mobile) && $GLOBALS['egw_info']['user']['preferences']['common']['template_set'] == 'idots') { if ($GLOBALS['egw_info']['server']['force_default_app'] && $GLOBALS['egw_info']['server']['force_default_app'] != 'user_choice') {