mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Another bug discovered and squashed by Dan Marsden. Reversed logic fixed when editing feeds.
This commit is contained in:
parent
692666f2ee
commit
319f73c933
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user