aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);