summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Bug.pm
diff options
context:
space:
mode:
authorDave Lawrence <dlawrence@mozilla.com>2012-12-28 17:35:04 +0100
committerDave Lawrence <dlawrence@mozilla.com>2012-12-28 17:35:04 +0100
commitb10a11cc341499745c0495406bd207db4982b322 (patch)
tree25a572c760e8de08a23470c67109dd29059a6cf9 /Bugzilla/Bug.pm
parentb300c83e7b907f14c9f94a50370aab6f8fb3d1a7 (diff)
parentfc18ef1ad344a14174332cd04a04d8182ab85d4b (diff)
downloadbugzilla-b10a11cc341499745c0495406bd207db4982b322.tar.gz
bugzilla-b10a11cc341499745c0495406bd207db4982b322.tar.xz
merged with bugzilla/4.2
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r--Bugzilla/Bug.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 6c23d6992..13387ae80 100644
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -1383,7 +1383,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 });