mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
NAVIGATION MDL-25468 remove optional_param from navigationlib.php, use override_active_url to help find the correct node
This commit is contained in:
parent
eef3578af0
commit
100e0d4989
3 changed files with 4 additions and 19 deletions
|
@ -48,6 +48,8 @@ $strportfolios = get_string('portfolios', 'portfolio');
|
|||
|
||||
$url = new moodle_url('/user/portfoliologs.php', array('courseid'=>$courseid));
|
||||
|
||||
navigation_node::override_active_url(new moodle_url('/user/portfoliologs.php', array('courseid'=>$courseid)));
|
||||
|
||||
if ($page !== 0) {
|
||||
$url->param('page', $page);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue