From 65263f19058638d719af12a3404e1ed0a07188d1 Mon Sep 17 00:00:00 2001 From: MrZYX Date: Sat, 2 Apr 2011 16:02:51 +0200 Subject: [PATCH] damn, typo --- app/models/photo.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/photo.rb b/app/models/photo.rb index aa8155108..4281cb91a 100644 --- a/app/models/photo.rb +++ b/app/models/photo.rb @@ -101,7 +101,7 @@ class Photo < Post end def process - return false if self.processed? || (!unprocessed_image.path.nil? &&unprocessed_image.path.include?('.gif')) + return false if self.processed? || (!unprocessed_image.path.nil? && unprocessed_image.path.include?('.gif')) processed_image.store!(unprocessed_image) #Ultra naive save! end