From: Aparup Banerjee Date: Tue, 12 Oct 2010 08:59:44 +0000 (+0000) Subject: global search MDL-24625 added page system context X-Git-Tag: v2.0.0-rc2~585 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=4c4d78fbc2a10b402b254096dcd8c8ca1069beb7 global search MDL-24625 added page system context --- diff --git a/search/query.php b/search/query.php index 660f906d64f..3480cfc5c59 100644 --- a/search/query.php +++ b/search/query.php @@ -165,7 +165,7 @@ // print the header $site = get_site(); - + $PAGE->set_context(get_context_instance(CONTEXT_SYSTEM)); $PAGE->navbar->add($strsearch, new moodle_url('/search/index.php')); $PAGE->navbar->add($strquery, new moodle_url('/search/stats.php')); $PAGE->set_title($strsearch);