summaryrefslogtreecommitdiffstats
path: root/system/libraries/Encrypt.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-08-27 03:52:51 +0200
committeradmin <devnull@localhost>2006-08-27 03:52:51 +0200
commit141808ad31d4eefad4c6c3dbaf8306fac2342668 (patch)
tree25c40e5e4e18fb27bb2826ac6ce8fbffd844281c /system/libraries/Encrypt.php
parentb071bb5a92aade551345a495fb13f5678f3978d0 (diff)
Diffstat (limited to 'system/libraries/Encrypt.php')
-rw-r--r--system/libraries/Encrypt.php2
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()