From 31adb1cf0c19a21d8a3eb157a91a4b380cdadf49 Mon Sep 17 00:00:00 2001 From: "Rulingcom.com" Date: Fri, 5 Jun 2015 14:36:00 +0800 Subject: [PATCH] a small fix for sync --- lib/tasks/sync_personal_plugins.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/sync_personal_plugins.rake b/lib/tasks/sync_personal_plugins.rake index 53addf3..448b74b 100644 --- a/lib/tasks/sync_personal_plugins.rake +++ b/lib/tasks/sync_personal_plugins.rake @@ -67,7 +67,7 @@ def sync_conference_papers(staff_id,mp) wc.isi_number = conference["number"] wc.publication_date = "#{conference["publication_year"]}/#{conference["publication_month"]}/01" wc.rss2_id = conference["rss_id"] - w.year = "#{conference["publication_year"]}" + wc.year = "#{conference["publication_year"]}" wc.url = conference["url"] wc.paper_title_translations = conference["title"] wc.member_profile = mp