summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-03-31 06:58:21 +0200
committerByron Jones <glob@mozilla.com>2014-03-31 06:58:21 +0200
commit52205fd2111f50dbb0079f9679b298d7bd3d7c8f (patch)
treec258fd7ef60aaf7397c142dfa1874e4192b0a7bb
parent5ee02011e85d8b0629ffaba4c505def5d411e02f (diff)
downloadbugzilla-52205fd2111f50dbb0079f9679b298d7bd3d7c8f.tar.gz
bugzilla-52205fd2111f50dbb0079f9679b298d7bd3d7c8f.tar.xz
Bug 989415: Weird "0 of attachment" text in bugmail from patches attached to security bugs
-rw-r--r--extensions/Splinter/lib/Util.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/Splinter/lib/Util.pm b/extensions/Splinter/lib/Util.pm
index 5258334a7..3c77239a9 100644
--- a/extensions/Splinter/lib/Util.pm
+++ b/extensions/Splinter/lib/Util.pm
@@ -106,6 +106,9 @@ sub get_review_link {
return "<a href='" . html_quote(get_review_url($attachment->bug, $attach_id)) .
"'>$link_text</a>";
}
+ else {
+ return $link_text;
+ }
}
sub munge_create_attachment {