diff options
-rw-r--r-- | framework/Security/TSecurityManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Security/TSecurityManager.php b/framework/Security/TSecurityManager.php index e2bdfa7a..d77e9b88 100644 --- a/framework/Security/TSecurityManager.php +++ b/framework/Security/TSecurityManager.php @@ -195,7 +195,7 @@ class TSecurityManager extends TModule $decrypted = mdecrypt_generic($module, substr($data, $ivSize)); mcrypt_generic_deinit($module); mcrypt_module_close($module); - return rtrim($decrypted, "\0"); + return $decrypted; } /** |