1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-25 02:50:08 +03:00

Fix for bug #391

This commit is contained in:
Tino Vázquez 2010-11-11 16:19:34 +01:00
parent 5f6b326c52
commit 3e0fdfd318

View File

@ -84,9 +84,7 @@ module OpenNebula
return nil
end
attribute = element.attr(name)
value = attribute if attribute != nil
value = element[name] if element != nil
else
element=@xml.elements[key.to_s.upcase]