Changeset 2497

Show
Ignore:
Timestamp:
04/15/08 02:17:26 (3 months ago)
Author:
Shadowhand
Message:

Fixing more bugs in r2494... maybe I should sleep.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/system/libraries/Validation.php

    r2496 r2497  
    394394 
    395395                                        // Don't process rules on empty fields 
    396                                         if (($func[1] !== 'required' AND $func[1] !== 'matches') AND $this[$field] == NULL) 
     396                                        if ( ! in_array($func[1], $this->empty_rules, TRUE) AND $this[$field] == NULL) 
    397397                                                continue; 
    398398