From: Aaron Schulz Date: Sat, 11 Apr 2009 17:46:55 +0000 (+0000) Subject: use correct item for count display X-Git-Tag: 1.31.0-rc.0~42167 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=6089178e531f91ded72fa645349f45ded93eb37d;p=lhc%2Fweb%2Fwiklou.git use correct item for count display --- diff --git a/includes/LogPage.php b/includes/LogPage.php index 6f0114ad36..9faff8187a 100644 --- a/includes/LogPage.php +++ b/includes/LogPage.php @@ -232,7 +232,7 @@ class LogPage { } // Revision deletion } else if ( preg_match( '/^(delete|suppress)\/revision$/', $key ) && count( $params ) == 5 ) { - $count = substr_count( $params[1], ',' ) + 1; // revisions + $count = substr_count( $params[2], ',' ) + 1; // revisions $ofield = intval( substr( $params[3], 7 ) ); // $nfield = intval( substr( $params[4], 7 ) ); // $details .= ': '.RevisionDeleter::getLogMessage( $count, $nfield, $ofield, false );