dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1f1354
)
don't parse blank ISBNs
author
River Tarnell
<kateturner@users.mediawiki.org>
Thu, 9 Sep 2004 23:04:08 +0000
(23:04 +0000)
committer
River Tarnell
<kateturner@users.mediawiki.org>
Thu, 9 Sep 2004 23:04:08 +0000
(23:04 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
f15b4e3
..
be98d71
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-2094,6
+2094,7
@@
class Parser
$valid = '0123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ';
foreach ( $a as $x ) {
+ if ( $x == '' ) continue;
$isbn = $blank = '' ;
while ( ' ' == $x{0} ) {
$blank .= ' ';