From d131b70ef867da202620072570048c8beecad62f Mon Sep 17 00:00:00 2001 From: Reedy Date: Fri, 1 Apr 2016 22:12:00 +0100 Subject: [PATCH] Collapse superfluous isset() call Change-Id: I525f5ce4553f67eb4a5ceea2b622dbdb034c88e1 --- includes/Setup.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/includes/Setup.php b/includes/Setup.php index f9150548a3..81a120b7b8 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -119,8 +119,7 @@ if ( $wgRightsIcon ) { ); } -if ( isset( $wgFooterIcons['copyright'] ) - && isset( $wgFooterIcons['copyright']['copyright'] ) +if ( isset( $wgFooterIcons['copyright']['copyright'] ) && $wgFooterIcons['copyright']['copyright'] === [] ) { if ( $wgRightsIcon || $wgRightsText ) { -- 2.20.1