Removed useless check since the variable always exists and null would be catched...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 16 Sep 2011 19:39:53 +0000 (19:39 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 16 Sep 2011 19:39:53 +0000 (19:39 +0000)
includes/actions/CreditsAction.php

index 1040085..d03ff57 100644 (file)
@@ -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 );