From cc1e341b527143240bb812a80d9bb8159afea532 Mon Sep 17 00:00:00 2001 From: Gervase Markham Date: Thu, 8 Dec 2011 14:06:42 +0000 Subject: Suppress warning relating to new constant. https://bugzilla.mozilla.org/show_bug.cgi?id=705078 --- Bugzilla/Attachment.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Bugzilla') 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); -- cgit v1.2.3-24-g4f1b