aboutsummaryrefslogtreecommitdiff
path: root/search/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'search/users.php')
-rw-r--r--search/users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/search/users.php b/search/users.php
index 89f679618..e07feddbb 100644
--- a/search/users.php
+++ b/search/users.php
@@ -13,13 +13,13 @@
*/
// Load Elgg engine
- require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
+ require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
// Set context
set_context('search');
// Get input
- $tag = get_input('tag');
+ $tag = stripslashes(get_input('tag'));
if (!empty($tag)) {
$title = sprintf(elgg_echo('users:searchtitle'),$tag);