aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-07-04 14:41:46 -0400
committerCash Costello <cash.costello@gmail.com>2012-07-04 14:41:46 -0400
commit34576a1f81d50a44064567469eb1406a028c92a7 (patch)
tree58cdb07d5a7763a22af583c98fe9cedaa2561285
parent9b975ab04da582b801f97645d5a460f924a63b26 (diff)
downloadelgg-34576a1f81d50a44064567469eb1406a028c92a7.tar.gz
elgg-34576a1f81d50a44064567469eb1406a028c92a7.tar.bz2
stop double encoding the ban reason
-rw-r--r--engine/lib/users.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 241b524f9..527eff3cd 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -136,7 +136,6 @@ function ban_user($user_guid, $reason = "") {
global $CONFIG;
$user_guid = (int)$user_guid;
- $reason = sanitise_string($reason);
$user = get_entity($user_guid);