Index: trunk/extensions/CSS/CSS.php |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | # "blue link" Article |
48 | 48 | $url = $title->getLocalURL( 'action=raw&ctype=text/css' ); |
49 | 49 | $headItem = HTML::linkedStyle( $url ); |
50 | | - } elseif ( $css{0} == '/' ) { |
| 50 | + } elseif ( $css[0] == '/' ) { |
51 | 51 | # Regular file |
52 | 52 | $base = $wgCSSPath === false ? $wgScriptPath : $wgCSSPath; |
53 | 53 | $headItem = HTML::linkedStyle( $base . $css ); |