diff options
Diffstat (limited to 'includes/filerepo/file/ArchivedFile.php')
-rw-r--r-- | includes/filerepo/file/ArchivedFile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/filerepo/file/ArchivedFile.php b/includes/filerepo/file/ArchivedFile.php index dfcef8d8bec2..e8f199448110 100644 --- a/includes/filerepo/file/ArchivedFile.php +++ b/includes/filerepo/file/ArchivedFile.php @@ -642,7 +642,7 @@ class ArchivedFile { * @return int|false */ public function pageCount() { - if ( !isset( $this->pageCount ) ) { + if ( $this->pageCount === null ) { // @FIXME: callers expect File objects // @phan-suppress-next-line PhanTypeMismatchArgument if ( $this->getHandler() && $this->handler->isMultiPage( $this ) ) { |