bug in remoterss

Found a bug? Tell us!!
Post Reply
oxygenws
Regular
Posts: 148
Joined: Thu Jan 20, 2005 11:20 am
Location: Iran
Contact:

bug in remoterss

Post by oxygenws »

there is a simple bug in the remote rss sidebar plugin.
we have it at line 418:

Code: Select all

$item['timestamp'] = strtotime(isset($item['pubdate']) ? $item['pubdate'] : $item['dc:date']);
sometimes strotime called with an empty time parameter and returned a lot of error :)

i didn't trace this code, but i know you can put an @ sign before this function :)

this is its picture :>
Image

regards, omid
My Blog, powered by s9y is http://oxygenws.com/blog/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: bug in remoterss

Post by garvinhicking »

Thanks for reporting. I didn't know that strototime reports an error for that.

Committed to CVS!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply