From c5a5d757fd915fdb036101e3dad3d3d9e3271b3b Mon Sep 17 00:00:00 2001 From: Bruno Nocera Zanette <bnzanette@inf.ufpr.br> Date: Sat, 10 Oct 2015 17:32:44 -0300 Subject: [PATCH] Fix bug: Wrong key to LO_Hash --- lib/tasks/dbInfo.rake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/tasks/dbInfo.rake b/lib/tasks/dbInfo.rake index 7eaaaee1e..57ba658e1 100644 --- a/lib/tasks/dbInfo.rake +++ b/lib/tasks/dbInfo.rake @@ -89,8 +89,7 @@ namespace :dbinfo do learning_objects.each do |lo| # Verify duplicity using LO's unique attributes - # item_key = encode_hash_from learning_object_unique_attributes(lo) - lo_key = encode_hash_from lo.name + item_key = encode_hash_from learning_object_unique_attributes(lo) if lo_hash[lo_key].nil? lo_hash[lo_key] = Array.new end -- GitLab