r32835 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32834‎ | r32835 | r32836 >
Date:01:22, 6 April 2008
Author:aaron
Status:old
Tags:
Comment:
Only needs [0]
Modified paths:
  • /trunk/phase3/includes/LogEventsList.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/LogEventsList.php
@@ -230,7 +230,7 @@
231231 }
232232 $revert = "($revert)";
233233 // Hidden log items, give review link
234 - } else if( $row->log_action == 'event' && $wgUser->isAllowed( 'deleterevision' ) && isset($paramArray[2]) ) {
 234+ } else if( $row->log_action == 'event' && $wgUser->isAllowed( 'deleterevision' ) && isset($paramArray[0]) ) {
235235 $revdel = SpecialPage::getTitleFor( 'Revisiondelete' );
236236 $revert .= $this->message['revdel-restore'];
237237 $Ids = explode( ',', $paramArray[0] );

Status & tagging log