MDL-13634 - wrong _param type. Fixed
This commit is contained in:
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user