From f30f2dceb62f66b12588ee947fc4d1ee0a3953ad Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 3 Sep 2009 23:37:57 +0000 Subject: [PATCH] Removed pointless intval of the $ids array; it was done a second time already for the places that want it and broke the timestamp arrays for the things that don't --- includes/specials/SpecialRevisiondelete.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialRevisiondelete.php b/includes/specials/SpecialRevisiondelete.php index 35722571d5..352cc5c60a 100644 --- a/includes/specials/SpecialRevisiondelete.php +++ b/includes/specials/SpecialRevisiondelete.php @@ -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' ) { -- 2.20.1