From: Tom Gilder Date: Thu, 27 Jan 2005 21:39:51 +0000 (+0000) Subject: Fix synatax errors: re-add removed quotes X-Git-Tag: 1.5.0alpha1~839 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=558f185f40b02c5d10e9d2865194ab0a538fbc18;p=lhc%2Fweb%2Fwiklou.git Fix synatax errors: re-add removed quotes --- 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 != "" )