summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-12-08 18:14:10 +0100
committerlpsolit%gmail.com <>2005-12-08 18:14:10 +0100
commit1288cb37def46360bcbe05b1eb330161f24af918 (patch)
treee55c35f4953b18d2cc394eee57a9a98a48f16560 /Bugzilla
parentfa5ed8f8630277c2560df1bf9fefdab30dec022e (diff)
downloadbugzilla-1288cb37def46360bcbe05b1eb330161f24af918.tar.gz
bugzilla-1288cb37def46360bcbe05b1eb330161f24af918.tar.xz
Bug 301764: The file size indicates "0" when editing local attachments - Patch by Frédéric Buclin <LpSolit@gmail.com> r=myk a=justdave
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Attachment.pm15
1 files changed, 15 insertions, 0 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index bb40e74c9..76067bbbc 100644
--- a/Bugzilla/Attachment.pm
+++ b/Bugzilla/Attachment.pm
@@ -236,6 +236,21 @@ sub ispatch {
=over
+=item C<isurl>
+
+whether or not the attachment is a URL
+
+=back
+
+=cut
+
+sub isurl {
+ my $self = shift;
+ return $self->{isurl};
+}
+
+=over
+
=item C<isobsolete>
whether or not the attachment is obsolete