forked from bcit-ci/CodeIgniter
-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I'm having this issue:
Severity: Deprecated Notice Message: openssl_encrypt(): Passing null to parameter #1 ($data) of type string is deprecated Filename: libraries/Encryption.php Line Number: 482
I think my database has a null value at some point and I use $this->encryption->encrypt() in a null value (my fault). But I think the framework shouldn't throw an exception, it should handle this case. Its system\libraries\Encryption.php, at line 482, function _openssl_encrypt($data, $params). Maybe when $data is null or isn't a string, return a null value.
Metadata
Metadata
Assignees
Labels
No labels