From 736549f87131329172cc499427a768ec686bca49 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Tue, 14 Dec 2004 10:31:56 +0000 Subject: Patch for bug 270823: Remove failure on search 'time since owner touched bug' (remove linebreaks from middle join clause); patch by Joel Peshkin , r=justdave, r=vladd, a=justdave. --- Bugzilla/Search.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Search.pm') diff --git a/Bugzilla/Search.pm b/Bugzilla/Search.pm index 121f92630..12f22b0e2 100644 --- a/Bugzilla/Search.pm +++ b/Bugzilla/Search.pm @@ -852,8 +852,8 @@ sub init { } elsif ($unit eq 'y') { $unitinterval = 'YEAR'; } - my $cutoff = "DATE_SUB(NOW(), - INTERVAL $quantity $unitinterval)"; + my $cutoff = "DATE_SUB(NOW(), " . + "INTERVAL $quantity $unitinterval)"; my $assigned_fieldid = &::GetFieldID('assigned_to'); push(@supptables, "LEFT JOIN longdescs comment_$table " . "ON comment_$table.who = bugs.assigned_to " . -- cgit v1.2.3-24-g4f1b