From e35af06b6133947ccf8215fc7903bae96bc09c9a Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Wed, 18 Feb 2009 02:00:14 +0000 Subject: [PATCH] Call static isValidIsbn() statically. Not sure why E_ALL | E_STRICT didn't yell at this. --- includes/specials/SpecialBooksources.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/specials/SpecialBooksources.php b/includes/specials/SpecialBooksources.php index 12b119d84d..db466c1472 100644 --- a/includes/specials/SpecialBooksources.php +++ b/includes/specials/SpecialBooksources.php @@ -34,7 +34,7 @@ class SpecialBookSources extends SpecialPage { $wgOut->addWikiMsg( 'booksources-summary' ); $wgOut->addHTML( $this->makeForm() ); if( strlen( $this->isbn ) > 0 ) { - if( !$this->isValidIsbn( $this->isbn ) ) { + if( !self::isValidISBN( $this->isbn ) ) { $wgOut->wrapWikiMsg( '
$1
', 'booksources-invalid-isbn' ); } $this->showList(); -- 2.20.1