Bugfix: undefined sEncryptedString

This commit is contained in:
djmaze 2020-12-02 14:30:19 +01:00
parent 80a72d172e
commit bad981ea7b

View file

@ -43,9 +43,9 @@ class Crypt
return \openssl_decrypt($sString, $sCipher, $sKey, OPENSSL_RAW_DATA, $iv);
}
if (\is_callable('xxtea_decrypt')) {
return \xxtea_decrypt($sEncryptedString, $sKey);
return \xxtea_decrypt($sString, $sKey);
}
return Xxtea::decrypt($sEncryptedString, $sKey);
return Xxtea::decrypt($sString, $sKey);
}
}