Skip to content
Browse files

Fixing the bug when the date start with a 0. See http://www.redmine.o…

  • Loading branch information...
1 parent 5bad45b commit 4d3a2424d216e0be94d5beb9dfc4a77110e07538 @martin-denizet committed Jan 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/attach_screenshot_controller.rb
View
2 app/controllers/attach_screenshot_controller.rb
@@ -33,6 +33,6 @@ def index
private
def make_tmpname(date, name = "screenshot.png")
- sprintf('%d_%d%s', User.current.id, date, name)
+ sprintf('%d_%s%s', User.current.id, date, name)
end
end

0 comments on commit 4d3a242

Please sign in to comment.
Something went wrong with that request. Please try again.