From: Victor Vasiliev Date: Sun, 13 Apr 2008 14:49:13 +0000 (+0000) Subject: Fix CentralAuth log X-Git-Tag: 1.31.0-rc.0~48381 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=bd538b883ce4ecbdd07261a571c33ebea3a25c9e;p=lhc%2Fweb%2Fwiklou.git Fix CentralAuth log --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index 254dd7df8a..5124201d97 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -228,7 +228,7 @@ class LogEventsList { '&wpMovetalk=0' ) . ')'; } // Show undelete link - } else if( $row->log_action == 'delete' && $wgUser->isAllowed( 'delete' ) ) { + } else if( $row->log_type == 'delete' && $row->log_action == 'delete' && $wgUser->isAllowed( 'delete' ) ) { $revert = '(' . $this->skin->makeKnownLinkObj( SpecialPage::getTitleFor( 'Undelete' ), $this->message['undeletelink'], 'target='. urlencode( $title->getPrefixedDBkey() ) ) . ')'; // Show unblock link