commit | f696c1fe8df29d54a933804a6f4d182a5a59c7a2 | [log] [tgz] |
---|---|---|
author | Andrey Andreev <narf@bofh.bg> | Tue Jun 12 12:14:51 2012 +0300 |
committer | Andrey Andreev <narf@bofh.bg> | Tue Jun 12 12:14:51 2012 +0300 |
tree | 7071abeec29a7c6823ee02d366fa215e8e7552d8 | |
parent | 5a1e5e34207b9b30ff42200158074953ca1cabab [diff] [blame] |
Fix issue #1202
diff --git a/system/libraries/Encrypt.php b/system/libraries/Encrypt.php index ce5e030..8ffd93a 100644 --- a/system/libraries/Encrypt.php +++ b/system/libraries/Encrypt.php
@@ -213,6 +213,7 @@ $dec = base64_decode($string); if (($dec = $this->mcrypt_decode($dec, $key)) === FALSE) { + $this->set_mode($current_mode); return FALSE; }