]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 283031: Sanitycheck can't send un-sent mail (SQL error)
authorbugreport%peshkin.net <>
Sat, 26 Feb 2005 14:34:20 +0000 (14:34 +0000)
committerbugreport%peshkin.net <>
Sat, 26 Feb 2005 14:34:20 +0000 (14:34 +0000)
Patch by Joel Peshkin <bugreport@peshkin.net>
r=wurblzap,a=myk

sanitycheck.cgi

index d05c65b1f9aef1ca97d8ffeb89c1bc0a4dd0fe85..8b7701eb135405a887fdb1a1540d15a2859358f7 100755 (executable)
@@ -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());