Removed pointless intval of the $ids array; it was done a second time already for...
authorAaron Schulz <aaron@users.mediawiki.org>
Thu, 3 Sep 2009 23:37:57 +0000 (23:37 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Thu, 3 Sep 2009 23:37:57 +0000 (23:37 +0000)
includes/specials/SpecialRevisiondelete.php

index 3572257..352cc5c 100644 (file)
@@ -115,7 +115,7 @@ class SpecialRevisionDelete extends UnlistedSpecialPage {
                        # Array input
                        $this->ids = array_keys( $wgRequest->getArray('ids',array()) );
                }
-               $this->ids = array_map( 'intval', $this->ids );
+               // $this->ids = array_map( 'intval', $this->ids );
                $this->ids = array_unique( array_filter( $this->ids ) );
 
                if ( $wgRequest->getVal( 'action' ) == 'revisiondelete' ) {