From dc3d64280937a452dd065fcd29b9b2e9d8e1ae0c Mon Sep 17 00:00:00 2001 From: Marius Hoch Date: Mon, 21 Jul 2014 22:42:09 +0200 Subject: [PATCH] Make sure $doUserRightsLogLike is set all the times This fixes a PHP notice Change-Id: I09b0b0c051b250b1e0a8e937948aaf2c48d17f7c --- includes/logging/LogPager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/logging/LogPager.php b/includes/logging/LogPager.php index 9c485291ac..256934e4c7 100644 --- a/includes/logging/LogPager.php +++ b/includes/logging/LogPager.php @@ -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() ); -- 2.20.1