From: Aaron Schulz Date: Mon, 22 Jun 2009 03:06:04 +0000 (+0000) Subject: Fix bogus var reference X-Git-Tag: 1.31.0-rc.0~41247 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=390eb15b795e4b3fb9bfa73621cf02abaaba4501;p=lhc%2Fweb%2Fwiklou.git Fix bogus var reference --- diff --git a/includes/LogEventsList.php b/includes/LogEventsList.php index c1dbe43607..174be963e9 100644 --- a/includes/LogEventsList.php +++ b/includes/LogEventsList.php @@ -112,9 +112,9 @@ class LogEventsList { // Then it would have to be copied. Not certain what is more expensive. $query = $this->getDefaultQuery(); $queryKey = "hide_{$type}_log"; - $query[$queryKey] = $hideVal; $hideVal = 1 - intval($val); + $query[$queryKey] = $hideVal; $link = $this->skin->link( $wgTitle,