MDL-13634 - wrong _param type. Fixed

This commit is contained in:
scyrma
2008-02-25 03:15:59 +00:00
parent f0f4244474
commit 1afe433c80
+1 -1
View File
@@ -9,7 +9,7 @@ if (empty($CFG->usetags)) {
error(get_string('tagsaredisabled', 'tag'));
}
$query = optional_param('query', '', PARAM_TAG);
$query = optional_param('query', '', PARAM_TEXT);
if ($similar_tags = tag_autocomplete($query)) {
foreach ($similar_tags as $tag){