commit | 141808ad31d4eefad4c6c3dbaf8306fac2342668 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Sun Aug 27 01:52:51 2006 +0000 |
committer | admin <devnull@localhost> | Sun Aug 27 01:52:51 2006 +0000 |
tree | 25c40e5e4e18fb27bb2826ac6ce8fbffd844281c | |
parent | b071bb5a92aade551345a495fb13f5678f3978d0 [diff] [blame] |
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php index 532bfe1..bcffdf1 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php
@@ -322,7 +322,7 @@ */ 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()