From: Aaron Schulz Date: Thu, 3 Sep 2009 23:37:57 +0000 (+0000) Subject: Removed pointless intval of the $ids array; it was done a second time already for... X-Git-Tag: 1.31.0-rc.0~39950 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/journal.php?a=commitdiff_plain;h=f30f2dceb62f66b12588ee947fc4d1ee0a3953ad;p=lhc%2Fweb%2Fwiklou.git 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 --- 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' ) {