Changeset 2661

Show
Ignore:
Timestamp:
05/07/2008 02:30:27 PM (7 months ago)
Author:
Shadowhand
Message:

Reversing a bit of logic for optimization and clarity

Files:
1 modified

Legend:

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

    r2659 r2661  
    158158                $value = isset($array[$key]) ? $array[$key] : $default; 
    159159 
    160                 if ($xss_clean === TRUE AND $this->use_xss_clean === FALSE) 
     160                if ($this->use_xss_clean === FALSE AND $xss_clean === TRUE) 
    161161                { 
    162162                        // XSS clean the value