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

Fix for bug #391: Now attributes are not asked for text attribute

(cherry picked from commit af3ed5d9d81963c9d66dd844d3c26cb4b9a71e05)
This commit is contained in:
Tino Vázquez 2010-11-04 19:05:19 +01:00
parent 8299982009
commit a1bbbac0d6

View File

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