Index: trunk/phase3/includes/specials/SpecialBooksources.php |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | $wgOut->addWikiMsg( 'booksources-summary' ); |
36 | 36 | $wgOut->addHTML( $this->makeForm() ); |
37 | 37 | if( strlen( $this->isbn ) > 0 ) { |
38 | | - if( !$this->isValidIsbn( $this->isbn ) ) { |
| 38 | + if( !self::isValidISBN( $this->isbn ) ) { |
39 | 39 | $wgOut->wrapWikiMsg( '<div class="error">$1</div>', 'booksources-invalid-isbn' ); |
40 | 40 | } |
41 | 41 | $this->showList(); |