Loading...
 
Skip to main content

One can not put more then one RSS feed on a wiki page

Status
Closed
Subject
One can not put more then one RSS feed on a wiki page
Version
1.9.x
Category
  • Error
  • Patch
Feature
RSS
Resolution status
Fixed or Solved
Submitted by
Aigars mahinovs
Volunteered to solve
Oliver Hertel
Rating
(0)
Description
One can not put more then one RSS feed on a wiki page. Following patch fixes that.
Solution

tiki/lib/tikilib.php
@@ -5219,7 +5219,7 @@
// Replace rss modules

if (preg_match_all("/\ /", $data, $ if (!isset($rsslib)) {

- include ('lib/rss/rsslib.php');

+ include_once ('lib/rss/rsslib.php');

}

$temp_max = count($rsss0);

tiki/lib/wiki-plugins/wikiplugin_rss.php
@@ -12,9 +12,10 @@
global $smarty;
global $tikilib;
global $dbTiki;

+ global $rsslib;


if (!isset($rsslib)) {
- include ('lib/rss/rsslib.php');

+ include_once ('lib/rss/rsslib.php');

}

extract($params,EXTR_SKIP);

Importance
7
Priority
35
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
158
Created
Thursday 05 May, 2005 14:16:58 UTC
by Unknown
LastModif
Saturday 09 July, 2005 15:53:05 UTC


Show PHP error messages