]> git.mxchange.org Git - friendica.git/blobdiff - include/items.php
how the heck did favicon get into the repo? Gone now...
[friendica.git] / include / items.php
index 2a934af3ac7b0958f733df4dded402d3449430cf..63e180f7611f8482f67ca139eb44f7d14eb6fc28 100644 (file)
@@ -995,7 +995,7 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) {
 
 function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $secure_feed = false) {
 
-       require_once('simplepie/simplepie.inc');
+       require_once('library/simplepie/simplepie.inc');
 
        $feed = new SimplePie();
        $feed->set_raw_data($xml);
@@ -1347,6 +1347,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0, $secure_fee
                                        if(x($ev,'desc') && x($ev,'start')) {
                                                $ev['uid'] = $importer['uid'];
                                                $ev['uri'] = $item_id;
+                                               $ev['edited'] = $datarray['edited'];
 
                                                if(is_array($contact))
                                                        $ev['cid'] = $contact['id'];