diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2013-08-12 09:28:15 +0200 |
commit | 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 (patch) | |
tree | 577a29fb579188d16003a209ce2a2e9c5b0aa2bd /includes/CategoryPage.php | |
parent | cacc939b34e315b85e2d72997811eb6677996cc1 (diff) |
Update to MediaWiki 1.21.1
Diffstat (limited to 'includes/CategoryPage.php')
-rw-r--r-- | includes/CategoryPage.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/CategoryPage.php b/includes/CategoryPage.php index 32e270e8..43ab4dbd 100644 --- a/includes/CategoryPage.php +++ b/includes/CategoryPage.php @@ -40,7 +40,7 @@ class CategoryPage extends Article { /** * Constructor from a page id - * @param $id Int article ID to load + * @param int $id article ID to load * @return CategoryPage|null */ public static function newFromID( $id ) { @@ -56,7 +56,7 @@ class CategoryPage extends Article { $diffOnly = $request->getBool( 'diffonly', $this->getContext()->getUser()->getOption( 'diffonly' ) ); - if ( isset( $diff ) && $diffOnly ) { + if ( $diff !== null && $diffOnly ) { parent::view(); return; } |