Skip to content
Snippets Groups Projects
Commit 236e440d authored by Mathieu Loiseau's avatar Mathieu Loiseau
Browse files

bug sidebar?

parent e1b93fd9
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,7 @@ class ConnectedHooks {
//https://www.mediawiki.org/wiki/Snippets/Load_JS_and_CSS_by_URL
public static function lfHideSidebar( $skin, &$bar ) {
// Hide sidebar for anonymous users
if ( !self::get_user() ) {
if ( !self::get_user()->isRegistered() ) {
$bar = array(
'navigation' => array(
array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment