Fixing an sql sytax error in forum cron that prevented mailouts! It seems to have been introduced at 1.405

This commit is contained in:
mjollnir_
2006-01-17 00:21:29 +00:00
parent 1ab3490ec9
commit b12d055a8f
+1 -1
View File
@@ -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')