From cfc3f57e38da99aee127b99205824e8ff9ecb4f4 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 22 Jul 2009 02:32:41 +0000 Subject: [PATCH] tags: MDL-19823 missed one $PAGE->set_context yesterday. --- tag/search.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tag/search.php b/tag/search.php index 4bfd1b8e2c..f08e07bc07 100644 --- a/tag/search.php +++ b/tag/search.php @@ -25,6 +25,7 @@ if ($perpage) { $params['perpage'] = $perpage; } $PAGE->set_url('tag/search.php', $params); +$PAGE->set_context(get_context_instance(CONTEXT_SYSTEM)); $navlinks = array(); $navlinks[] = array('name' => get_string('tags', 'tag'), 'link' => "{$CFG->wwwroot}/tag/search.php", 'type' => ''); -- 2.39.5