diff options
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-x | process_bug.cgi | 11 |
1 files changed, 11 insertions, 0 deletions
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, |