Changeset 2495

Show
Ignore:
Timestamp:
04/15/2008 01:15:59 AM (6 months ago)
Author:
Shadowhand
Message:

D'oh! Syntax error in r2494!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/libraries/Validation.php

    r2494 r2495  
    126126        public function allow_empty_rules($rules) 
    127127        { 
     128                // Any number of args are supported 
     129                $rules = func_get_args(); 
     130 
    128131                // 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); 
    130133 
    131134                return $this;