Index: trunk/phase3/includes/Linker.php |
— | — | @@ -888,10 +888,10 @@ |
889 | 889 | */ |
890 | 890 | public static function makeExternalLink( $url, $text, $escape = true, $linktype = '', $attribs = array() ) { |
891 | 891 | $class = "external"; |
892 | | - if ( isset($linktype) && $linktype ) { |
| 892 | + if ( $linktype ) { |
893 | 893 | $class .= " $linktype"; |
894 | 894 | } |
895 | | - if ( isset($attribs['class']) && $attribs['class'] ) { |
| 895 | + if ( isset( $attribs['class'] ) && $attribs['class'] ) { |
896 | 896 | $class .= " {$attribs['class']}"; |
897 | 897 | } |
898 | 898 | $attribs['class'] = $class; |