From 5012260a953f2b091d362bbaa4edb79acf0a4f9d Mon Sep 17 00:00:00 2001 From: River Tarnell Date: Thu, 9 Sep 2004 23:24:36 +0000 Subject: [PATCH] here is the correct fix for head (MF 1.3) --- includes/Parser.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/includes/Parser.php b/includes/Parser.php index be98d71c3a..b59ac6c369 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -2094,12 +2094,15 @@ class Parser $valid = '0123456789-ABCDEFGHIJKLMNOPQRSTUVWXYZ'; foreach ( $a as $x ) { - if ( $x == '' ) continue; $isbn = $blank = '' ; while ( ' ' == $x{0} ) { $blank .= ' '; $x = substr( $x, 1 ); } + if ( $x == '' ) { # blank isbn + $text .= "ISBN $blank"; + continue; + } while ( strstr( $valid, $x{0} ) != false ) { $isbn .= $x{0}; $x = substr( $x, 1 ); -- 2.20.1