Merge "I18n of display of change tags"
[lhc/web/wiklou.git] / includes / resourceloader / ResourceLoaderUserGroupsModule.php
index b5d96ca..1316f42 100644 (file)
@@ -1,5 +1,7 @@
 <?php
 /**
+ * Resource loader module for user customizations.
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * the Free Software Foundation; either version 2 of the License, or
@@ -34,7 +36,7 @@ class ResourceLoaderUserGroupsModule extends ResourceLoaderWikiModule {
                global $wgUser;
 
                $userName = $context->getUser();
-               if ( !$userName ) {
+               if ( $userName === null ) {
                        return array();
                }