diff options
author | admin <devnull@localhost> | 2006-08-27 03:52:51 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-08-27 03:52:51 +0200 |
commit | 141808ad31d4eefad4c6c3dbaf8306fac2342668 (patch) | |
tree | 25c40e5e4e18fb27bb2826ac6ce8fbffd844281c /system/libraries/Encrypt.php | |
parent | b071bb5a92aade551345a495fb13f5678f3978d0 (diff) |
Diffstat (limited to 'system/libraries/Encrypt.php')
-rw-r--r-- | system/libraries/Encrypt.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php index 532bfe1f1..bcffdf1ab 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php @@ -322,7 +322,7 @@ class CI_Encrypt { */ function set_hash($type = 'sha1') { - $this->_hash_type = ($type != 'sha1' OR $type != 'md5') ? 'sha1' : $type; + $this->_hash_type = ($type != 'sha1' AND $type != 'md5') ? 'sha1' : $type; } // END set_hash() |