From c1a8053e98fa659ffda19fae799423c1762dbd10 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Sun, 16 Jan 2005 21:36:02 +0000 Subject: Patch for bug 103636: Support specifying a date on which a bug is expected to be resolved; patch by Alexandre Michetti Manduca , r=jouni, a=myk. --- process_bug.cgi | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'process_bug.cgi') diff --git a/process_bug.cgi b/process_bug.cgi index d8ad4cafa..724c709d8 100755 --- a/process_bug.cgi +++ b/process_bug.cgi @@ -784,6 +784,17 @@ if (UserInGroup(Param('timetrackinggroup'))) { } } } + + if (defined $::FORM{'deadline'}) { + DoComma(); + $::query .= "deadline = "; + if ($::FORM{'deadline'}) { + Bugzilla::Util::ValidateDate($::FORM{'deadline'}, 'YYYY-MM-DD'); + $::query .= SqlQuote($::FORM{'deadline'}); + } else { + $::query .= "NULL" ; + } + } } # If the user is submitting changes from show_bug.cgi for a single bug, -- cgit v1.2.3-24-g4f1b