From 6089178e531f91ded72fa645349f45ded93eb37d Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 11 Apr 2009 17:46:55 +0000 Subject: [PATCH] use correct item for count display --- includes/LogPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1