Skip to content
Snippets Groups Projects
Commit c5a5d757 authored by Bruno Nocera Zanette's avatar Bruno Nocera Zanette
Browse files

Fix bug: Wrong key to LO_Hash

parent 23dc88ba
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment