diff --git a/includes/Partials/Header.php b/includes/Partials/Header.php index b0facd6e..64fa0bf6 100644 --- a/includes/Partials/Header.php +++ b/includes/Partials/Header.php @@ -175,7 +175,9 @@ final class Header extends Partial { ]; // The following defines the order of links added - $personalTools['userpage'] = $userPage; + if ( isset( $userPage ) ) { + $personalTools['userpage'] = $userPage; + } if ( isset( $userGroups ) ) { $personalTools['usergroups'] = $userGroups; }