From 6d3f67110449a8f7cfecf473ce5066fd6bd63e8e Mon Sep 17 00:00:00 2001 From: vfilippov Date: Mon, 25 Oct 2010 12:15:17 +0000 Subject: [PATCH] =?UTF-8?q?Bug=2070997=20-=20=D0=90=20=D1=82=D0=B0=D0=BA?= =?UTF-8?q?=20=D0=B1=D0=BE=D0=BB=D0=B5=D0=B5=20=D0=BA=D0=BE=D1=80=D1=80?= =?UTF-8?q?=D0=B5=D0=BA=D1=82=D0=BD=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1004 6955db30-a419-402b-8a0d-67ecbb4d7f56 --- Bugzilla/Bug.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 114c12899..d3edb11be 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -843,8 +843,8 @@ sub update { if ($comment->{work_time}) { # log worktime - LogActivityEntry($self->id, "work_time", "", $comment->{work_time}, - Bugzilla->user->id, $delta_ts); + $changes->{work_time} ||= [ '', 0 ]; + $changes->{work_time}->[1] += $comment->{work_time}; } }