PHP Classes

Bug if direct output is false

Recommend this page to a friend!

      RSS Feed Reader  >  All threads  >  Bug if direct output is false  >  (Un) Subscribe thread alerts  
Subject:Bug if direct output is false
Summary:Found a bug at line 156 that disables the function of outout
Messages:2
Author:Sebastian Radloff
Date:2007-04-11 08:59:24
Update:2007-04-11 14:13:49
 

  1. Bug if direct output is false   Reply   Report abuse  
Picture of Sebastian Radloff Sebastian Radloff - 2007-04-11 08:59:24
I mentioned a bug at line 156.
If the user doesn't want direct outout he doesn't get the title of the feed,
because the class parses the link of the feed again.

You must change line 156 from:

$this->output[$this->counter]['title'] = $this->link

to:

$this->output[$this->counter]['title'] = $this->title

Nice class!

  2. Re: Bug if direct output is false   Reply   Report abuse  
Picture of Daniel Tlach Daniel Tlach - 2007-04-11 14:13:49 - In reply to message 1 from Sebastian Radloff
thanks for fix :)