X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialComparePages.php;h=fc6b0c58c281d2ef27f3d8912b374550cc02b7bf;hb=e7c0da1dc1b10cafc31f1a14cd2200f4221c8cff;hp=3b82326bcb381f00b8137e8238b131c28a2d652f;hpb=3a26db55ab4ba908b76cd9982794d1eeafb4afa0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialComparePages.php b/includes/specials/SpecialComparePages.php index 3b82326bcb..fc6b0c58c2 100644 --- a/includes/specials/SpecialComparePages.php +++ b/includes/specials/SpecialComparePages.php @@ -136,6 +136,7 @@ class SpecialComparePages extends SpecialPage { return $title->getLatestRevID(); } } + return null; } @@ -150,6 +151,7 @@ class SpecialComparePages extends SpecialPage { if ( !$title->exists() ) { return $this->msg( 'compare-title-not-exists' )->parseAsBlock(); } + return true; } @@ -161,6 +163,7 @@ class SpecialComparePages extends SpecialPage { if ( $revision === null ) { return $this->msg( 'compare-revision-not-exists' )->parseAsBlock(); } + return true; }