From ef0a44426429bf85614353726b4d25b1dd7d6848 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Fri, 2 Jan 2009 11:07:12 +0000 Subject: [PATCH] (bug 11330) Improper use of WebRequest::getIntOrNull() --- includes/RawPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/RawPage.php b/includes/RawPage.php index 5d5c081e1a..7093367ff0 100644 --- a/includes/RawPage.php +++ b/includes/RawPage.php @@ -34,7 +34,7 @@ class RawPage { } $ctype = $this->mRequest->getVal( 'ctype' ); - $smaxage = $this->mRequest->getIntOrNull( 'smaxage', $wgSquidMaxage ); + $smaxage = $this->mRequest->getIntOrNull( 'smaxage' ); $maxage = $this->mRequest->getInt( 'maxage', $wgSquidMaxage ); $this->mExpandTemplates = $this->mRequest->getVal( 'templates' ) === 'expand'; -- 2.20.1