Followup r78933: reapply r78802
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 23 Dec 2010 23:28:12 +0000 (23:28 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 23 Dec 2010 23:28:12 +0000 (23:28 +0000)
includes/OutputPage.php

index 247e0f0..fa8d38d 100644 (file)
@@ -2577,7 +2577,7 @@ class OutputPage {
                        $group = $resourceLoader->getModule( $name )->getGroup();
                        // Modules in groups named "other" or anything different than "user" or "site" will
                        // be placed in the "other" group
-                       $styles[isset( $style[$group] ) ? $group : 'other'][] = $name;
+                       $styles[isset( $styles[$group] ) ? $group : 'other'][] = $name;
                }
                // Add styles to tags, user modules last
                $tags[] = $this->makeResourceLoaderLink(