Browse Source

Fixed runtime error with fixums.

Martin Edenhofer 9 years ago
parent
commit
7b2a8b507d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/overview.rb

+ 1 - 1
app/models/overview.rb

@@ -15,7 +15,7 @@ class Overview < ApplicationModel
   private
 
   def fill_prio
-    return true if !prio.empty?
+    return true if prio
     self.prio = 9999
   end