aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-09 21:09:32 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-11-09 21:09:32 +0000
commit3aaf48831a092f76a884629386cfe3f8a9004098 (patch)
tree33715eda4f2b2afdac95c593da64c18c80931e13 /mod
parentce397b5423636181de8ca1c8997eb021e8d6e6b4 (diff)
downloadelgg-3aaf48831a092f76a884629386cfe3f8a9004098.tar.gz
elgg-3aaf48831a092f76a884629386cfe3f8a9004098.tar.bz2
For real this time.
git-svn-id: http://code.elgg.org/elgg/trunk@3648 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/search/search_hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/search/search_hooks.php b/mod/search/search_hooks.php
index 60cb1e8c4..941e01e8c 100644
--- a/mod/search/search_hooks.php
+++ b/mod/search/search_hooks.php
@@ -165,7 +165,7 @@ function search_tags_hook($hook, $type, $value, $params) {
global $CONFIG;
// @todo will need to split this up to support searching multiple tags at once.
- $query = santitise_string($params['query']);
+ $query = sanitise_string($params['query']);
$params['metadata_name_value_pair'] = array ('name' => 'tags', 'value' => $query, 'case_sensitive' => FALSE);
$entities = elgg_get_entities_from_metadata($params);