From: Alexandre Emsenhuber Date: Fri, 16 Sep 2011 19:39:53 +0000 (+0000) Subject: Removed useless check since the variable always exists and null would be catched... X-Git-Tag: 1.31.0-rc.0~27604 X-Git-Url: http://git.cyclocoop.org/ecrire?a=commitdiff_plain;h=582ad7e51334b290648e96dd4367a0423ac40df0;p=lhc%2Fweb%2Fwiklou.git Removed useless check since the variable always exists and null would be catched by the second part --- diff --git a/includes/actions/CreditsAction.php b/includes/actions/CreditsAction.php index 1040085b3a..d03ff5709b 100644 --- a/includes/actions/CreditsAction.php +++ b/includes/actions/CreditsAction.php @@ -67,7 +67,7 @@ class CreditsAction extends FormlessAction { wfProfileIn( __METHOD__ ); $s = ''; - if ( isset( $cnt ) && $cnt != 0 ) { + if ( $cnt != 0 ) { $s = self::getAuthor( $this->page ); if ( $cnt > 1 || $cnt < 0 ) { $s .= ' ' . $this->getContributors( $cnt - 1, $showIfMax );