Permalink
Browse files

logic was incorrect inverted

  • Loading branch information...
graemerocher committed Nov 11, 2009
1 parent 453ec90 commit 051ada77ca8e97bdfcebda7eab229f7bac75330e
Showing with 1 addition and 1 deletion.
  1. +1 −1 grails.org/grails-app/jobs/MailerJob.groovy
@@ -29,7 +29,7 @@ class MailerJob {
def engine = new GrailsWikiEngine(context)
context.setRenderEngine engine
- def emails = UserInfo.executeQuery("select ui.user.email from UserInfo as ui where ui.emailSubscribed = ?", [false] )
+ def emails = UserInfo.executeQuery("select ui.user.email from UserInfo as ui where ui.emailSubscribed = ?", [true] )
while (content) {
def plugin = pluginService.resolvePossiblePlugin(content)
def text = new StringBuffer()

0 comments on commit 051ada7

Please sign in to comment.