This commit is contained in:
albert
2013-02-17 22:33:33 -05:00
parent 693627d3c9
commit 1b780e27ab
2 changed files with 2 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ class Upload < ActiveRecord::Base
md5_post = Post.find_by_md5(md5)
if md5_post
merge_tags(md5_post)
raise "duplicate: #{post.id}"
raise "duplicate: #{md5_post.id}"
end
end