MDL-49412 Navigation: Remaining behat fixed for nav branch
Behat is passing after this change. Part of MDL-45774.
This commit is contained in:
committed by
Adrian Greeve
parent
8e94fae962
commit
46a2fbc4b7
@@ -135,7 +135,7 @@ if ($roleid) {
|
||||
}
|
||||
}
|
||||
|
||||
if ($user->id != $USER->id) {
|
||||
if (!empty($user) && ($user->id != $USER->id)) {
|
||||
$PAGE->navigation->extend_for_user($user);
|
||||
$PAGE->navbar->includesettingsbase = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user