* (bug 12505) Fixed section=0 with action=raw
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 9 Jan 2008 02:18:58 +0000 (02:18 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 9 Jan 2008 02:18:58 +0000 (02:18 +0000)
commit669a6b4bab141116160838c932870f867d3de2af
treee4e5ac49d02e97346401d97669525ecfddc42525
parente71a915538d99506098253bbc187bb65f9001904
* (bug 12505) Fixed section=0 with action=raw
PHP's fuzzy type comparisons strike again! A check for $this->mSection != '', probably intended to protect against an unset value, matched for integer values of 0 as well. (The fun part is that 0=='' and 0=='0' but '0'!='' :) Since the parameter is validated through getIntOrNull(), only the null check is necessary here.
RELEASE-NOTES
includes/RawPage.php