fixed a bug with Event#find

This commit is contained in:
2011-03-13 20:24:06 +00:00
parent e4aaedfe58
commit 8b711d4d9c
2 changed files with 5 additions and 3 deletions

View File

@@ -91,7 +91,7 @@ module Redistat
event = db.hgetall "#{scope}#{KEY_EVENT}#{id}"
return nil if event.size == 0
self.new( event["scope"], event["label"], event["date"], JSON.parse(event["stats"]),
JSON.parse(event["meta"]), JSON.parse(event["options"]), false )
JSON.parse(event["options"]), JSON.parse(event["meta"]), false )
end
end