aboutsummaryrefslogtreecommitdiff
path: root/mod/search
diff options
context:
space:
mode:
Diffstat (limited to 'mod/search')
-rw-r--r--mod/search/views/default/page_elements/searchbox.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/search/views/default/page_elements/searchbox.php b/mod/search/views/default/page_elements/searchbox.php
index f7746b0da..f70a6ad97 100644
--- a/mod/search/views/default/page_elements/searchbox.php
+++ b/mod/search/views/default/page_elements/searchbox.php
@@ -8,6 +8,8 @@ if (array_key_exists('value', $vars)) {
$value = elgg_echo('search');
}
+$value = stripslashes($value);
+
?>
<form id="searchform" action="<?php echo $vars['url']; ?>pg/search/" method="get">