From: bugreport%peshkin.net <> Date: Sat, 26 Feb 2005 14:34:20 +0000 (+0000) Subject: Bug 283031: Sanitycheck can't send un-sent mail (SQL error) X-Git-Tag: bugzilla-2.19.3~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e1498c4660b0bc4feb92a458dea533a58bd49da;p=thirdparty%2Fbugzilla.git Bug 283031: Sanitycheck can't send un-sent mail (SQL error) Patch by Joel Peshkin r=wurblzap,a=myk --- diff --git a/sanitycheck.cgi b/sanitycheck.cgi index d05c65b1f9..8b7701eb13 100755 --- a/sanitycheck.cgi +++ b/sanitycheck.cgi @@ -178,7 +178,7 @@ if (defined $cgi->param('rescanallBugMail')) { Status("OK, now attempting to send unsent mail"); SendSQL("SELECT bug_id FROM bugs WHERE lastdiffed < delta_ts AND delta_ts < date_sub(now(), " . $dbh->sql_interval('30 minute') . - " ORDER BY bug_id"); + ") ORDER BY bug_id"); my @list; while (MoreSQLData()) { push (@list, FetchOneColumn());