Skip to content

Commit

Permalink
Fixing an sql sytax error in forum cron that prevented mailouts! It s…
Browse files Browse the repository at this point in the history
…eems to have been introduced at 1.405
  • Loading branch information
mjollnir_ committed Jan 17, 2006
1 parent 1ab3490 commit b12d055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/lib.php
Expand Up @@ -1162,7 +1162,7 @@ function forum_get_unmailed_posts($starttime, $endtime) {
FROM {$CFG->prefix}forum_posts p,
{$CFG->prefix}forum_discussions d
WHERE p.mailed = 0
AND (p.created >= '$starttime' OR OR d.timestart > 0)
AND (p.created >= '$starttime' OR d.timestart > 0)
AND p.created < '$endtime'
AND p.discussion = d.id
AND ((d.timestart = 0 OR d.timestart <= '$now')
Expand Down

0 comments on commit b12d055

Please sign in to comment.