From: Domas Mituzas Date: Sat, 10 Oct 2009 20:44:46 +0000 (+0000) Subject: um, don't die with fatal error? X-Git-Tag: 1.31.0-rc.0~39309 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=c51f0d34e3ae01371b09f9b1f96467b11b899087;p=lhc%2Fweb%2Fwiklou.git um, don't die with fatal error? --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index 8f08a06847..f30d230cda 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -555,7 +555,7 @@ class LogEventsList { if( $row->log_deleted & $field ) { global $wgUser; $permission = ''; - if ( $this->log_deleted & LogPage::DELETED_RESTRICTED ) { + if ( $row->log_deleted & LogPage::DELETED_RESTRICTED ) { $permission = 'suppressrevision'; } elseif ( $field & LogPage::DELETED_TEXT ) { $permission = 'deletedtext';