From 390eb15b795e4b3fb9bfa73621cf02abaaba4501 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 22 Jun 2009 03:06:04 +0000 Subject: [PATCH] Fix bogus var reference --- includes/LogEventsList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1