]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Stripping slashes on output of original search query.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 14 Jan 2010 20:31:04 +0000 (20:31 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 14 Jan 2010 20:31:04 +0000 (20:31 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@3811 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/search/views/default/page_elements/searchbox.php

index f7746b0da96cafa0b8bd74be68eaa2df7af0a5aa..f70a6ad97bfe7b6940436bb4962daef97c23e663 100644 (file)
@@ -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">