diff options
author | lpsolit%gmail.com <> | 2008-02-13 03:13:07 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-02-13 03:13:07 +0000 |
commit | bc040aab7fd89c27cfb396f0577b9b757ea05312 (patch) | |
tree | be32396b29f2af93f8988ff07e86470c9d7e4c57 /Bugzilla/Bug.pm | |
parent | 30c7fa92ac2d0c76443fcc47907487a9ff0186b2 (diff) | |
download | bugs-bc040aab7fd89c27cfb396f0577b9b757ea05312.tar bugs-bc040aab7fd89c27cfb396f0577b9b757ea05312.tar.gz bugs-bc040aab7fd89c27cfb396f0577b9b757ea05312.tar.bz2 bugs-bc040aab7fd89c27cfb396f0577b9b757ea05312.tar.xz bugs-bc040aab7fd89c27cfb396f0577b9b757ea05312.zip |
Bug 416481: No bugmail is sent if no comment is added on bug creation - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla/Bug.pm')
-rwxr-xr-x | Bugzilla/Bug.pm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 9be3830cf..5cbe8a619 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -1005,14 +1005,6 @@ sub _check_comment { $comment =~ s/\r\n?/\n/g; # Get rid of \r. ThrowUserError('comment_too_long') if length($comment) > MAX_COMMENT_LENGTH; - - # Creation-only checks - if (!ref $invocant) { - # On creation only, there must be a single-space comment, or - # email will be supressed. - $comment = ' ' if $comment eq ''; - } - return $comment; } |