From: Aaron Schulz Date: Fri, 2 Jan 2009 11:07:12 +0000 (+0000) Subject: (bug 11330) Improper use of WebRequest::getIntOrNull() X-Git-Tag: 1.31.0-rc.0~43625 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=ef0a44426429bf85614353726b4d25b1dd7d6848;p=lhc%2Fweb%2Fwiklou.git (bug 11330) Improper use of WebRequest::getIntOrNull() --- 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';