]> projects.mako.cc - selectricity-live/blobdiff - lib/rubyvote/election.rb
Merge jdong
[selectricity-live] / lib / rubyvote / election.rb
index b9bb5574c7ea03b4d9d5d6e1b544fdca640e3ee3..42f18bb6c9fa7470e34c46051787573b377fdce2 100644 (file)
@@ -133,7 +133,7 @@ class ElectionResult
   end
 
   def winner?
   end
 
   def winner?
-    @winners.length > 0
+    @winners.length > 0 and not @winners[0].nil?
   end
 
 end
   end
 
 end

Benjamin Mako Hill || Want to submit a patch?