More typos fixed, thanks to Profi-Concept
[mailer.git] / inc / modules / guest / what-wernis_portal.php
index c60a8f3f8e03f5e7a4501009af91ebb7f924a81c..658530e9f2bf9ec2a843fb2de44b1fa3ee80eb29 100644 (file)
@@ -74,8 +74,10 @@ if ((getConfig('proxy_host') != "") && (getConfig('proxy_port') > 0)) {
 } // END - if
 
 $rdf->parse_RDF("http://www.wds66.com/rss.xml");
-$rdf->finish();
-// DISABLED: $rdf->clear_cache();
+
+// Fix to avoid "headers already sent" bug. Thanks to Profi-Concept
+OUTPUT_HTML($rdf->finish(true));
+//  @TODO Can this be removed? $rdf->clear_cache();
 OUTPUT_HTML("</div>");
 
 //