summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Tereschenko <aleksandr.v.tereschenko@linux.intel.com>2012-12-17 23:41:09 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-12-17 23:41:09 +0100
commit5e0d6380ebe8dd26eca2c1bc57011459b30e8776 (patch)
tree58a1365d98f136342e8f0329cfd3ada5f9eea8d4
parent747137e67658c7dfabca4e46d8e6f80239caa61d (diff)
downloadbugzilla-5e0d6380ebe8dd26eca2c1bc57011459b30e8776.tar.gz
bugzilla-5e0d6380ebe8dd26eca2c1bc57011459b30e8776.tar.xz
Bug 818890: Bugzilla doesn't obey the "Comment required on status transition" for {Start}-> transition (for new bugs)
r/a=LpSolit
-rw-r--r--Bugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
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 });