From: Chad Horohoe Date: Wed, 18 Feb 2009 02:00:14 +0000 (+0000) Subject: Call static isValidIsbn() statically. Not sure why E_ALL | E_STRICT didn't yell at... X-Git-Tag: 1.31.0-rc.0~42822 X-Git-Url: https://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=e35af06b6133947ccf8215fc7903bae96bc09c9a;p=lhc%2Fweb%2Fwiklou.git Call static isValidIsbn() statically. Not sure why E_ALL | E_STRICT didn't yell at this. --- 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();