Fix synatax errors: re-add removed quotes
authorTom Gilder <tomgilder@users.mediawiki.org>
Thu, 27 Jan 2005 21:39:51 +0000 (21:39 +0000)
committerTom Gilder <tomgilder@users.mediawiki.org>
Thu, 27 Jan 2005 21:39:51 +0000 (21:39 +0000)
includes/ParserXML.php

index 60251d0..d68f36d 100644 (file)
@@ -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 != "" )