Index: trunk/phase3/includes/Title.php |
— | — | @@ -3704,7 +3704,7 @@ |
3705 | 3705 | switch( $this->mNamespace ) { |
3706 | 3706 | case NS_MEDIA: |
3707 | 3707 | case NS_FILE: |
3708 | | - return wfFindFile( $this ); // file exists, possibly in a foreign repo |
| 3708 | + return (bool)wfFindFile( $this ); // file exists, possibly in a foreign repo |
3709 | 3709 | case NS_SPECIAL: |
3710 | 3710 | return SpecialPage::exists( $this->getDBkey() ); // valid special page |
3711 | 3711 | case NS_MAIN: |