Another bug discovered and squashed by Dan Marsden. Reversed logic fixed when editing feeds.

This commit is contained in:
dhawes 2005-01-27 00:55:13 +00:00
parent 692666f2ee
commit 319f73c933

View File

@ -68,11 +68,11 @@
$dataobject->id = $rssid;
if ($rss === false) {
$dataobject->description = addslashes($rss->channel['description']);
$dataobject->title = addslashes($rss->channel['title']);
} else {
$dataobject->description = '';
$dataobject->title = '';
} else {
$dataobject->description = addslashes($rss->channel['description']);
$dataobject->title = addslashes($rss->channel['title']);
}
$dataobject->url = addslashes($url);