diff options
author | ctrlaltca@gmail.com <> | 2011-07-20 17:37:44 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2011-07-20 17:37:44 +0000 |
commit | 6e62809df9632e1bc16f6564b4d8c10d08053f42 (patch) | |
tree | b3ae6c240ee33b41b3e36c56772ddbadac2bcb7e /framework/Security/TSecurityManager.php | |
parent | d9c99cddd56908d5466956c50b240c9fe4dc98e5 (diff) |
fix #350
Diffstat (limited to 'framework/Security/TSecurityManager.php')
-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; } /** |