Ffixes to r96443 and r96441
[lhc/web/wiklou.git] / includes / specials / SpecialLog.php
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', '' );
                }