summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-28 09:30:36 +0400
committerAndrew Dolgov <[email protected]>2011-12-28 09:30:36 +0400
commit05b1152bccee7ba062ae8281b6deef3c4219edfd (patch)
tree5e670f3a1f4b0dd197f8a6583e614b4b706e8a49 /include
parenta679752aaa0dd5058081d1e39d39a1a215cd7350 (diff)
xml import: import note
Diffstat (limited to 'include')
-rw-r--r--include/functions.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index 7ea90a6f9..018e518eb 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -5260,6 +5260,7 @@
$tag_cache = $article['tag_cache'];
$label_cache = $article['label_cache'];
+ $note = $article['note'];
//print "Importing " . $article['title'] . "<br/>";
@@ -5268,9 +5269,10 @@
$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");
}