diff --git a/lib/tasks/dmsf_convert_documents.rake b/lib/tasks/dmsf_convert_documents.rake index a8a8363c..b38c1b35 100644 --- a/lib/tasks/dmsf_convert_documents.rake +++ b/lib/tasks/dmsf_convert_documents.rake @@ -72,7 +72,7 @@ class DmsfConvertDocuments if attachment folder.user = attachment.author else - folder.user = Users.active.where(:admin => true).first + folder.user = User.active.where(:admin => true).first end folder.title = document.title