Skip to content
Browse files

Locale refactoring

  • Loading branch information...
1 parent d6de58f commit 6edcbf67cfb426c136c1007756025592cfffbfc7 @noullet noullet committed Mar 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 IcescrumCoreGrailsPlugin.groovy
View
2 IcescrumCoreGrailsPlugin.groovy
@@ -742,7 +742,7 @@ class IcescrumCoreGrailsPlugin {
}
def reportDef = new JasperReportDef(name: reportName,
reportData: data,
- locale: springSecurityService.isLoggedIn() ? new Locale(User.get(springSecurityService.principal?.id)?.preferences?.language) : RCU.getLocale(request),
+ locale: springSecurityService.isLoggedIn() ? springSecurityService.currentUser.locale : RCU.getLocale(request),
parameters: parameters,
fileFormat: JasperExportFormat.determineFileFormat(format))

0 comments on commit 6edcbf6

Please sign in to comment.
Something went wrong with that request. Please try again.