##// END OF EJS Templates
Removed unused instance variable....
Jean-Philippe Lang -
r13142:65997d4ff830
parent child
Show More
@@ -309,7 +309,7 class Attachment < ActiveRecord::Base
309 309 just_filename = value.gsub(/\A.*(\\|\/)/m, '')
310 310
311 311 # Finally, replace invalid characters with underscore
312 @filename = just_filename.gsub(/[\/\?\%\*\:\|\"\'<>\n\r]+/, '_')
312 just_filename.gsub(/[\/\?\%\*\:\|\"\'<>\n\r]+/, '_')
313 313 end
314 314
315 315 # Returns the subdirectory in which the attachment will be saved
General Comments 0
You need to be logged in to leave comments. Login now