summaryrefslogtreecommitdiff
path: root/framework/Security
diff options
context:
space:
mode:
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 d77e9b88..e2bdfa7a 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 $decrypted;
+ return rtrim($decrypted, "\0");
}
/**