summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorGervase Markham <gerv@gerv.net>2011-12-08 15:06:42 +0100
committerGervase Markham <gerv@mozilla.org>2011-12-08 15:06:42 +0100
commitcc1e341b527143240bb812a80d9bb8159afea532 (patch)
tree3efc7b39a3d004debb3544f0ba5acd16cc152f23 /Bugzilla
parenta4599dde03c31fec1000c8358d6daa04e1801139 (diff)
downloadbugzilla-cc1e341b527143240bb812a80d9bb8159afea532.tar.gz
bugzilla-cc1e341b527143240bb812a80d9bb8159afea532.tar.xz
Suppress warning relating to new constant.
https://bugzilla.mozilla.org/show_bug.cgi?id=705078
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Attachment.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Attachment.pm b/Bugzilla/Attachment.pm
index 53a3e9147..5c56d6e98 100644
--- a/Bugzilla/Attachment.pm
+++ b/Bugzilla/Attachment.pm
@@ -584,7 +584,7 @@ sub _check_filename {
# Truncate the filename to MAX_ATTACH_FILENAME_LENGTH characters, counting
# from the end of the string to make sure we keep the filename extension.
$filename = substr($filename,
- -MAX_ATTACH_FILENAME_LENGTH,
+ -&MAX_ATTACH_FILENAME_LENGTH,
MAX_ATTACH_FILENAME_LENGTH);
trick_taint($filename);