r57626 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r57625‎ | r57626 | r57627 >
Date:20:46, 10 October 2009
Author:midom
Status:ok
Tags:
Comment:
MFT: r57625 - avoid fatal error due to people not checking their code
Modified paths:
  • /branches/wmf-deployment/includes/LogEventsList.php (modified) (history)

Diff [purge]

Index: branches/wmf-deployment/includes/LogEventsList.php
@@ -550,7 +550,7 @@
551551 if( $row->log_deleted & $field ) {
552552 global $wgUser;
553553 $permission = '';
554 - if ( $this->log_deleted & LogPage::DELETED_RESTRICTED ) {
 554+ if ( $row->log_deleted & LogPage::DELETED_RESTRICTED ) {
555555 $permission = 'suppressrevision';
556556 } elseif ( $field & LogPage::DELETED_TEXT ) {
557557 $permission = 'deletedtext';

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r57625um, don't die with fatal error?midom20:44, 10 October 2009

Status & tagging log