From: brettp Date: Mon, 9 Nov 2009 21:09:32 +0000 (+0000) Subject: For real this time. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3aaf48831a092f76a884629386cfe3f8a9004098;p=lorea%2Felgg.git For real this time. git-svn-id: http://code.elgg.org/elgg/trunk@3648 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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);