From 558f185f40b02c5d10e9d2865194ab0a538fbc18 Mon Sep 17 00:00:00 2001 From: Tom Gilder Date: Thu, 27 Jan 2005 21:39:51 +0000 Subject: [PATCH] Fix synatax errors: re-add removed quotes --- includes/ParserXML.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/ParserXML.php b/includes/ParserXML.php index 60251d0a01..d68f36dc91 100644 --- a/includes/ParserXML.php +++ b/includes/ParserXML.php @@ -65,7 +65,7 @@ class element { if ( $this->children[$key]->name != "LINK" ) return ; $n = $this->children[$k2] ; - $s = ; + $s = ''; while ( $n != '' AND ( ( $n[0] >= 'a' AND $n[0] <= 'z' ) OR $n[0] == 'ä' OR $n[0] == 'ö' OR @@ -96,7 +96,7 @@ class element { $ret = '' ; $attr2 = $this->getSourceAttrs () ; - if ( $attr != '' AND $attr2 != ) $attr .= ' ' ; + if ( $attr != '' AND $attr2 != '' ) $attr .= ' ' ; $attr .= $attr2 ; if ( $tag != "" ) -- 2.20.1