From 35d5bbc9f704945989684f40f3a11d7627928b1c Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 19 Sep 2011 18:38:38 +0000 Subject: [PATCH] * Removed useless isset() check * Added two spaces --- includes/Linker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Linker.php b/includes/Linker.php index 486104596b..4bb3dc6c00 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -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; -- 2.20.1