From 5e0d6380ebe8dd26eca2c1bc57011459b30e8776 Mon Sep 17 00:00:00 2001 From: Alexander Tereschenko Date: Mon, 17 Dec 2012 23:41:09 +0100 Subject: Bug 818890: Bugzilla doesn't obey the "Comment required on status transition" for {Start}-> transition (for new bugs) r/a=LpSolit --- Bugzilla/Bug.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 6a21b4e89..e47b05779 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1368,7 +1368,7 @@ sub _check_bug_status { } # Check if a comment is required for this change. - if ($new_status->comment_required_on_change_from($old_status) && !$comment) + if ($new_status->comment_required_on_change_from($old_status) && !$comment->{'thetext'}) { ThrowUserError('comment_required', { old => $old_status, new => $new_status }); -- cgit v1.2.3-24-g4f1b