From: travis%sedsystems.ca <> Date: Sat, 26 Feb 2005 00:58:40 +0000 (+0000) Subject: Bug 283361 : 'Deadline' info not saved in bookmarkable template X-Git-Tag: bugzilla-2.19.3~242 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d8f3d8e3d5309dbdbb86ab65c7712f370e861fa;p=thirdparty%2Fbugzilla.git Bug 283361 : 'Deadline' info not saved in bookmarkable template Patch by Shane H. W. Travis r=wurblzap a=myk --- diff --git a/enter_bug.cgi b/enter_bug.cgi index e9b5991385..0dca344edf 100755 --- a/enter_bug.cgi +++ b/enter_bug.cgi @@ -357,6 +357,7 @@ if ($cloned_bug_id) { $vars->{'keywords'} = $cloned_bug->{'keywords'}; $vars->{'dependson'} = $cloned_bug_id; $vars->{'blocked'} = ""; + $vars->{'deadline'} = $cloned_bug->{'deadline'}; if (exists $cloned_bug->{'cc'}) { $vars->{'cc'} = join (" ", @{$cloned_bug->{'cc'}}); @@ -400,6 +401,7 @@ else { $vars->{'keywords'} = formvalue('keywords'); $vars->{'dependson'} = formvalue('dependson'); $vars->{'blocked'} = formvalue('blocked'); + $vars->{'deadline'} = formvalue('deadline'); $vars->{'cc'} = formvalue('cc'); diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 946072b316..d5ea69bdbc 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -231,7 +231,7 @@ function set_assign_to() { Deadline: - + (YYYY-MM-DD)