diff options
author | Daniel Morris <daniel@honestempire.com> | 2012-10-04 11:24:16 +0200 |
---|---|---|
committer | Daniel Morris <daniel@honestempire.com> | 2012-10-04 11:24:16 +0200 |
commit | ada7775a47f32034ba589768612894c3cb6186ca (patch) | |
tree | 3db71445f0e49c5400a6ead588ad852df073a653 /system | |
parent | a9923f5dc131f5a18175b1df3cf3f80a93ffb464 (diff) |
Removed redundant parenthesis around `in_array()`
Diffstat (limited to 'system')
-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 3b04f7b06..679609251 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php @@ -484,7 +484,7 @@ class CI_Encrypt { */ public function set_hash($type = 'sha1') { - $this->_hash_type = (in_array($type, hash_algos())) ? $type : 'sha1'; + $this->_hash_type = in_array($type, hash_algos()) ? $type : 'sha1'; } // -------------------------------------------------------------------- |