From: Niklas Laxström Date: Wed, 7 Sep 2011 16:11:37 +0000 (+0000) Subject: Ffixes to r96443 and r96441 X-Git-Tag: 1.31.0-rc.0~27829 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=068fc34a02fff0b53d9af66f5e24354616b63c7a;p=lhc%2Fweb%2Fwiklou.git Ffixes to r96443 and r96441 --- 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', '' ); }