diff --git a/include/renderer.php b/include/renderer.php index 7849152..2e52e19 100644 --- a/include/renderer.php +++ b/include/renderer.php @@ -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) : ''; }