global search MDL-24625 added page system context

This commit is contained in:
Aparup Banerjee
2010-10-12 08:59:44 +00:00
parent 81ed4632fc
commit 4c4d78fbc2
+1 -1
View File
@@ -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);