mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Fixed some notices on some custom pages
This commit is contained in:
parent
a84902827e
commit
3a1ac34002
2 changed files with 5 additions and 5 deletions
|
@ -3383,11 +3383,11 @@ function build_navigation($extranavlinks) {
|
|||
if ($i > 0) {
|
||||
$navigation .= get_separator();
|
||||
}
|
||||
if ($navlink['link'] && $i+1 < $countlinks) {
|
||||
if ((!empty($navlink['link'])) && $i+1 < $countlinks) {
|
||||
$navigation .= "<a onclick=\"this.target='$CFG->framename'\" href=\"{$navlink['link']}\">";
|
||||
}
|
||||
$navigation .= "{$navlink['name']}";
|
||||
if ($navlink['link'] && $i+1 < $countlinks) {
|
||||
if ((!empty($navlink['link'])) && $i+1 < $countlinks) {
|
||||
$navigation .= "</a>";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue