From: Aaron Schulz Date: Sun, 6 Apr 2008 01:22:30 +0000 (+0000) Subject: Only needs [0] X-Git-Tag: 1.31.0-rc.0~48597 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=9a0426825b0bf4121fbd72098b29b03d8147cf5b;p=lhc%2Fweb%2Fwiklou.git Only needs [0] --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index c7d6938bb5..28c61f156c 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -230,7 +230,7 @@ class LogEventsList { } $revert = "($revert)"; // Hidden log items, give review link - } else if( $row->log_action == 'event' && $wgUser->isAllowed( 'deleterevision' ) && isset($paramArray[2]) ) { + } else if( $row->log_action == 'event' && $wgUser->isAllowed( 'deleterevision' ) && isset($paramArray[0]) ) { $revdel = SpecialPage::getTitleFor( 'Revisiondelete' ); $revert .= $this->message['revdel-restore']; $Ids = explode( ',', $paramArray[0] );