From: Marius Hoch Date: Mon, 21 Jul 2014 20:42:09 +0000 (+0200) Subject: Make sure $doUserRightsLogLike is set all the times X-Git-Tag: 1.31.0-rc.0~14835 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=dc3d64280937a452dd065fcd29b9b2e9d8e1ae0c;p=lhc%2Fweb%2Fwiklou.git Make sure $doUserRightsLogLike is set all the times This fixes a PHP notice Change-Id: I09b0b0c051b250b1e0a8e937948aaf2c48d17f7c --- 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() );