aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Controllers/UsersController.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2011-02-18 02:19:48 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2011-02-18 02:19:48 +0000
commita855ea347f8668cefb04360b2d7158d8939e07ac (patch)
tree0f20e42e542647f7151d9f78b3911a8edf2861b7 /h-source/Application/Controllers/UsersController.php
parent0f42e1a7816893e083f49c933d1393a102a3510e (diff)
improved wiki
Diffstat (limited to 'h-source/Application/Controllers/UsersController.php')
-rw-r--r--h-source/Application/Controllers/UsersController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/h-source/Application/Controllers/UsersController.php b/h-source/Application/Controllers/UsersController.php
index 4fa078b..95addf4 100644
--- a/h-source/Application/Controllers/UsersController.php
+++ b/h-source/Application/Controllers/UsersController.php
@@ -76,7 +76,8 @@ class UsersController extends BaseController
case 'accepted':
if (strcmp($redirect,'') !== 0)
{
- $this->redirect($redirect,0);
+ $redirect = html_entity_decode($redirect,ENT_QUOTES,DEFAULT_CHARSET);
+ header('Location: http://'.DOMAIN_NAME."/".$redirect);
}
else
{