aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_category.inc.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/functions_category.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 23a50b354..0214656bc 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -47,7 +47,7 @@ function check_restrictions($category_id)
if (in_array($category_id, explode(',', $user['forbidden_categories'])))
{
$login_url = './identification.php?redirect='.
- htmlentities(htmlentities($_SERVER['REQUEST_URI']));
+ urlencode(urlencode($_SERVER['REQUEST_URI']));
if ( ! $user['is_the_guest'] )
{
echo '<div style="text-align:center;">';