mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 14:34:09 +00:00
fix: undefined userPage variable
This commit is contained in:
parent
ae8235cd46
commit
d6968e9383
|
@ -175,7 +175,9 @@ final class Header extends Partial {
|
||||||
];
|
];
|
||||||
|
|
||||||
// The following defines the order of links added
|
// The following defines the order of links added
|
||||||
$personalTools['userpage'] = $userPage;
|
if ( isset( $userPage ) ) {
|
||||||
|
$personalTools['userpage'] = $userPage;
|
||||||
|
}
|
||||||
if ( isset( $userGroups ) ) {
|
if ( isset( $userGroups ) ) {
|
||||||
$personalTools['usergroups'] = $userGroups;
|
$personalTools['usergroups'] = $userGroups;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue