aboutsummaryrefslogtreecommitdiff
path: root/mod/search
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-14 20:31:04 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-01-14 20:31:04 +0000
commite2bc3384fd94422bb1526f94d31f39b5f9a5c435 (patch)
tree37fcdeff343529105f67b82bc3d52072a872969d /mod/search
parent1ae9d04e864d7b3e67a9087ebdd5237d342e39f6 (diff)
downloadelgg-e2bc3384fd94422bb1526f94d31f39b5f9a5c435.tar.gz
elgg-e2bc3384fd94422bb1526f94d31f39b5f9a5c435.tar.bz2
Stripping slashes on output of original search query.
git-svn-id: http://code.elgg.org/elgg/trunk@3811 36083f99-b078-4883-b0ff-0f9b5a30f544
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">