From 1afe433c80375fbe24cc2816ee80f8f632fa91df Mon Sep 17 00:00:00 2001 From: scyrma Date: Mon, 25 Feb 2008 03:15:59 +0000 Subject: [PATCH] MDL-13634 - wrong _param type. Fixed --- tag/tag_autocomplete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tag/tag_autocomplete.php b/tag/tag_autocomplete.php index a7dc68902f3..fb088c98797 100644 --- a/tag/tag_autocomplete.php +++ b/tag/tag_autocomplete.php @@ -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){