]> git.wh0rd.org - tt-rss.git/commitdiff
xml import: import note
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 28 Dec 2011 05:30:36 +0000 (09:30 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 28 Dec 2011 05:30:36 +0000 (09:30 +0400)
include/functions.php

index 7ea90a6f9e490073cb77fbccf58cac6661ca7118..018e518ebad0f411fef244a2b099822ea35f1f7c 100644 (file)
 
                                                                $tag_cache = $article['tag_cache'];
                                                                $label_cache = $article['label_cache'];
+                                                               $note = $article['note'];
 
                                                                //print "Importing " . $article['title'] . "<br/>";
 
                                                                $result = db_query($link,
                                                                        "INSERT INTO ttrss_user_entries
                                                                        (ref_id, owner_uid, feed_id, unread, last_read, marked,
-                                                                               published, score, tag_cache, label_cache, uuid)
+                                                                               published, score, tag_cache, label_cache, uuid, note)
                                                                        VALUES ($ref_id, $owner_uid, $feed, false,
-                                                                               NULL, $marked, $published, $score, '$tag_cache', '$label_cache', '')");
+                                                                               NULL, $marked, $published, $score, '$tag_cache',
+                                                                                       '$label_cache', '', '$note')");
 
                                                                //db_query($link, "COMMIT");
                                                        }