fixed decoder
This commit is contained in:
@@ -426,7 +426,7 @@ class Renderer {
|
||||
}
|
||||
|
||||
protected function decode(string $toDecode, string $salt): string {
|
||||
return openssl_decrypt($toDecode, 'aes-256-cbc', $this->encryptionKey, 0, $salt);
|
||||
return $toDecode ? openssl_decrypt($toDecode, 'aes-256-cbc', $this->encryptionKey, 0, $salt) : '';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user