From 05df65f119e2ce033b19067261c3363586182f55 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Thu, 3 Nov 2011 02:06:22 +0100 Subject: [PATCH] feature #952: Better zone render --- src/ozones/Server/lib/OZones/Zones.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ozones/Server/lib/OZones/Zones.rb b/src/ozones/Server/lib/OZones/Zones.rb index 36ad9c709b..803aef19c7 100644 --- a/src/ozones/Server/lib/OZones/Zones.rb +++ b/src/ozones/Server/lib/OZones/Zones.rb @@ -49,8 +49,8 @@ module OZones self.all.each{|zone| zattr = zone.attributes.clone - zattr[:ONEPASS] = Zones.encrypt(zattr[:ONEPASS]) - zattr.merge({:NUMBERVDCS => zone.vdcs.all.size}) + zattr[:ONEPASS] = Zones.encrypt(zattr[:ONEPASS]) + zattr[:NUMBERVDCS] = zone.vdcs.all.size zonePoolHash["ZONE_POOL"]["ZONE"] << zattr }