Skip to content

Commit

Permalink
global search MDL-24625 added page system context
Browse files Browse the repository at this point in the history
  • Loading branch information
nebgor committed Oct 12, 2010
1 parent 81ed463 commit 4c4d78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/query.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4c4d78f

Please sign in to comment.