From 7676179e548ae192614bf4ca7f91198567985db2 Mon Sep 17 00:00:00 2001 From: Raphael Date: Wed, 4 Aug 2010 17:10:38 -0700 Subject: [PATCH] IZ, RS; now passing correct object to verify_signature --- app/models/retraction.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/retraction.rb b/app/models/retraction.rb index 5679822f0..b096be75d 100644 --- a/app/models/retraction.rb +++ b/app/models/retraction.rb @@ -20,7 +20,7 @@ class Retraction attr_accessor :type def perform - return unless verify_signature(@creator_signature, Post.first(:id => post_id).person.id) + return unless verify_signature(@creator_signature, Post.first(:id => post_id).person) begin self.type.constantize.destroy(self.post_id)