String pamAuthService = Config.get().getString(ConfigDefaults.WEB_PAM_AUTH_SERVICE);
if (pamAuthService != null && pamAuthService.trim().length() > 0) {
request.setAttribute("displaypamcheckbox", "true");
}
request.setAttribute("timezones", getTimeZones());
<BUG>if (currentUser != null && currentUser.getTimeZone() != null) {
request.setAttribute("default_tz", new Integer(currentUser.getTimeZone()</BUG>
.getTimeZoneId()));
}
else {

String pamAuthService = Config.get().getString(ConfigDefaults.WEB_PAM_AUTH_SERVICE);
if (pamAuthService != null && pamAuthService.trim().length() > 0) {
request.setAttribute("displaypamcheckbox", "true");
}
request.setAttribute("timezones", getTimeZones());
if (currentUser.getTimeZone() != null) {
request.setAttribute("default_tz", new Integer(currentUser.getTimeZone()
.getTimeZoneId()));
}
else {
