1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

skip decryption for null

This commit is contained in:
Damodar Lohani 2021-12-03 13:23:21 +05:45
parent a32351ff7e
commit ea8985d591

View file

@ -332,6 +332,9 @@ Database::addFilter('encrypt',
]);
},
function($value) {
if(is_null($value)) {
return null;
}
$value = json_decode($value, true);
$key = App::getEnv('_APP_OPENSSL_KEY_V'.$value['version']);