From 068fc34a02fff0b53d9af66f5e24354616b63c7a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 7 Sep 2011 16:11:37 +0000 Subject: [PATCH] Ffixes to r96443 and r96441 --- includes/logging/LogFormatter.php | 2 +- includes/specials/SpecialLog.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/logging/LogFormatter.php b/includes/logging/LogFormatter.php index 7ff4bb7dd0..6f7cb3a551 100644 --- a/includes/logging/LogFormatter.php +++ b/includes/logging/LogFormatter.php @@ -306,7 +306,7 @@ class LegacyLogFormatter extends LogFormatter { $entry->getType(), $entry->getSubtype(), $entry->getTarget(), - $this->context->getUser()->getSkin(), + $this->context->getSkin(), (array)$entry->getParameters(), true ); diff --git a/includes/specials/SpecialLog.php b/includes/specials/SpecialLog.php index 5d0771be66..584e6b630a 100644 --- a/includes/specials/SpecialLog.php +++ b/includes/specials/SpecialLog.php @@ -64,7 +64,7 @@ class SpecialLog extends SpecialPage { $opts->setValue( 'month', '' ); } - if ( LogPage::isLogType( $opts->getValue( 'type' ) ) ) { + if ( !LogPage::isLogType( $opts->getValue( 'type' ) ) ) { $opts->setValue( 'type', '' ); } -- 2.20.1