Bug 80799 - BUG_ID TIME COMMENT

git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1273 6955db30-a419-402b-8a0d-67ecbb4d7f56
master
vfilippov 2011-06-09 15:03:38 +00:00
parent 40dea5bb53
commit 4a16240b20
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ if (@idlist || @lines)
foreach my $id (@{$wtime->{IDS}})
{
$dbh->bz_start_transaction();
BugWorkTime::FixWorktime($id, $wtime->{$id}->{time}, join("\n", @{$wtime->{$id}->{comments}}));
BugWorkTime::FixWorktime($id, $wtime->{$id}->{time}, join("\n", @{$wtime->{$id}->{comments} || []}));
$dbh->bz_commit_transaction();
}
print $cgi->redirect(-location => "fill-day-worktime.cgi?lastdays=" . $lastdays);