diff options
Diffstat (limited to 'Bugzilla/Attachment.pm')
-rw-r--r-- | Bugzilla/Attachment.pm | 2 |
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); |