Ffixes to r96443 and r96441
authorNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 7 Sep 2011 16:11:37 +0000 (16:11 +0000)
committerNiklas Laxström <nikerabbit@users.mediawiki.org>
Wed, 7 Sep 2011 16:11:37 +0000 (16:11 +0000)
includes/logging/LogFormatter.php
includes/specials/SpecialLog.php

index 7ff4bb7..6f7cb3a 100644 (file)
@@ -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
                );
index 5d0771b..584e6b6 100644 (file)
@@ -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', '' );
                }