* Removed useless isset() check
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 19 Sep 2011 18:38:38 +0000 (18:38 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 19 Sep 2011 18:38:38 +0000 (18:38 +0000)
* Added two spaces

includes/Linker.php

index 4861045..4bb3dc6 100644 (file)
@@ -888,10 +888,10 @@ class Linker {
         */
        public static function makeExternalLink( $url, $text, $escape = true, $linktype = '', $attribs = array() ) {
                $class = "external";
-               if ( isset($linktype) && $linktype ) {
+               if ( $linktype ) {
                        $class .= " $linktype";
                }
-               if ( isset($attribs['class']) && $attribs['class'] ) {
+               if ( isset( $attribs['class'] ) && $attribs['class'] ) {
                        $class .= " {$attribs['class']}";
                }
                $attribs['class'] = $class;