Followup r78023, change usage of $style to $styles, not introduced in this revision...
authorSam Reed <reedy@users.mediawiki.org>
Wed, 22 Dec 2010 16:16:12 +0000 (16:16 +0000)
committerSam Reed <reedy@users.mediawiki.org>
Wed, 22 Dec 2010 16:16:12 +0000 (16:16 +0000)
includes/OutputPage.php

index de50c06..8fb8be1 100644 (file)
@@ -2635,7 +2635,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 tags created using legacy methods
                $tags = $this->buildCssLinksArray();