Make sure $doUserRightsLogLike is set all the times
authorMarius Hoch <hoo@online.de>
Mon, 21 Jul 2014 20:42:09 +0000 (22:42 +0200)
committerMarius Hoch <hoo@online.de>
Mon, 21 Jul 2014 20:42:09 +0000 (22:42 +0200)
This fixes a PHP notice

Change-Id: I09b0b0c051b250b1e0a8e937948aaf2c48d17f7c

includes/logging/LogPager.php

index 9c48529..256934e 100644 (file)
@@ -207,6 +207,7 @@ class LogPager extends ReverseChronologicalPager {
                $ns = $title->getNamespace();
                $db = $this->mDb;
 
+               $doUserRightsLogLike = false;
                if ( $this->types == array( 'rights' ) ) {
                        global $wgUserrightsInterwikiDelimiter;
                        $parts = explode( $wgUserrightsInterwikiDelimiter, $title->getDBKey() );