Fix #3317 ... MCrypt sucks
diff --git a/system/libraries/Encryption.php b/system/libraries/Encryption.php
index fe8434c..2a28714 100644
--- a/system/libraries/Encryption.php
+++ b/system/libraries/Encryption.php
@@ -212,6 +212,7 @@
log_message('debug', "Encryption: Auto-configured driver '".$this->_driver."'.");
}
+ empty($params['cipher']) && $params['cipher'] = $this->_cipher;
empty($params['key']) OR $this->_key = $params['key'];
$this->{'_'.$this->_driver.'_initialize'}($params);
return $this;