Bug 40933

Bug 53644
attach create debug


git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@338 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2009-08-30 18:39:20 +00:00
parent 835d0d3ba6
commit 6a5d03754f
2 changed files with 6 additions and 1 deletions

View File

@ -478,7 +478,8 @@ sub insert {
$attachment->description . "\n";
$comment .= "\n" . $cgi->param('comment') if defined $cgi->param('comment');
$bug->add_comment($comment, { isprivate => $attachment->isprivate });
my $work_time = scalar $cgi->param('work_time');
$bug->add_comment($comment, { isprivate => $attachment->isprivate, work_time => $work_time });
# Assign the bug to the user, if they are allowed to take it
my $owner = "";

View File

@ -92,6 +92,10 @@
</td>
</tr>
[% END %]
<tr>
<th><label for="work_time">Hours Worked:</label></th>
<td><input type="text" size="10" value="0.0" name="work_time" id="work_time" /></td>
</tr>
<tr>
<th><label for="comment">Comment:</label></th>
<td>