Changeset 2495
- Timestamp:
- 04/15/2008 01:15:59 AM (6 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Validation.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Validation.php
r2494 r2495 126 126 public function allow_empty_rules($rules) 127 127 { 128 // Any number of args are supported 129 $rules = func_get_args(); 130 128 131 // Merge the allowed rules 129 $this->empty_rules = array_merge($this->empty_rules, func_get_args());132 $this->empty_rules = array_merge($this->empty_rules, $rules); 130 133 131 134 return $this;
