1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-03 21:27:25 +02:00

RSS parse error fix

This commit is contained in:
secretr
2011-05-13 11:26:35 +00:00
parent b33f03d327
commit 65a7f7a339

View File

@@ -165,7 +165,11 @@ class rssCreate
public function __construct($content_type, $rss_type, $topic_id, $row) public function __construct($content_type, $rss_type, $topic_id, $row)
{ // Constructor { // Constructor
$sql_rs = new db; $sql_rs = new db;
global $sql, $pref, $rssgen; global $rssgen;
$sql = e107::getDb();
$pref = e107::getPref();
$tp = e107::getParser();
$this->e107 = e107::getInstance(); $this->e107 = e107::getInstance();
$this -> path = e_PLUGIN."rss_menu/"; $this -> path = e_PLUGIN."rss_menu/";