summaryrefslogtreecommitdiff
path: root/framework/Security
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2011-07-20 17:37:44 +0000
committerctrlaltca@gmail.com <>2011-07-20 17:37:44 +0000
commit6e62809df9632e1bc16f6564b4d8c10d08053f42 (patch)
treeb3ae6c240ee33b41b3e36c56772ddbadac2bcb7e /framework/Security
parentd9c99cddd56908d5466956c50b240c9fe4dc98e5 (diff)
fix #350
Diffstat (limited to 'framework/Security')
-rw-r--r--framework/Security/TSecurityManager.php2
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;
}
/**