From 1f1c040fe9ab31d42eecc60ecf0fb7f3346f9d33 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 9 Jul 2014 18:40:33 +0800 Subject: [PATCH] fixed reimport bug --- app/controllers/admin/import_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/admin/import_controller.rb b/app/controllers/admin/import_controller.rb index 4647bb3..ca07350 100644 --- a/app/controllers/admin/import_controller.rb +++ b/app/controllers/admin/import_controller.rb @@ -624,6 +624,7 @@ class Admin::ImportController < OrbitAdminController if AlbumImage.where(:rss2_id => params["photoid"]).count == 0 img = album.album_images.new img.description_translations = params["description"] + img.rss2_id = params["photoid"] img.remote_file_url = params["url"] img.save end