xaboy 6 years ago
parent
commit
d8d950e79d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/UI/Iview/Validate.php

+ 1 - 1
src/UI/Iview/Validate.php

@@ -174,7 +174,7 @@ class Validate implements ValidateInterface
      */
     public function enum(array $list)
     {
-        $this->validate['enum'] = (int)$list;
+        $this->validate['enum'] = $list;
         return $this;
     }