diff --git a/phpgwapi/inc/phpgw_common.inc.php b/phpgwapi/inc/phpgw_common.inc.php index 006ee3947a..4e00f0bc69 100644 --- a/phpgwapi/inc/phpgw_common.inc.php +++ b/phpgwapi/inc/phpgw_common.inc.php @@ -18,7 +18,10 @@ echo "Failed attempt to break in via an old Security Hole!
\n"; exit; } unset($d1);unset($d2);unset($d3); - + //incase we are dealing with a fresh login + if (!isset($phpgw_info["user"]["preferences"]["common"]["template_set"])){ + $phpgw_info["user"]["preferences"]["common"]["template_set"] = "default"; + } // Since LDAP will return system accounts, there are a few we don't want to login. $phpgw_info["server"]["global_denied_users"] = array('root' => True, 'bin' => True,