Permalink
Browse files

fix for MPE

  • Loading branch information...
1 parent 0de7c60 commit 453ec908bb690d42be2dceecfaefa66cd9d2ee8a @graemerocher graemerocher committed Nov 11, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 grails.org/grails-app/jobs/MailerJob.groovy
@@ -43,7 +43,7 @@ class MailerJob {
myTitle = "${plugin.title} (${wikiType[0].toUpperCase() + wikiType[1..-1]} tab)"
}
- def pageVersions = Version.findAllByCurrent(c, [sort:'number',order:'desc', max:1, cache:true])
+ def pageVersions = Version.findAllByCurrent(content, [sort:'number',order:'desc', max:1, cache:true])
if(pageVersions) {
def version = pageVersions[-1] //last version

0 comments on commit 453ec90

Please sign in to comment.