xml import: import note

This commit is contained in:
Andrew Dolgov 2011-12-28 09:30:36 +04:00
parent a679752aaa
commit 05b1152bcc

View file

@ -5260,6 +5260,7 @@
$tag_cache = $article['tag_cache']; $tag_cache = $article['tag_cache'];
$label_cache = $article['label_cache']; $label_cache = $article['label_cache'];
$note = $article['note'];
//print "Importing " . $article['title'] . "<br/>"; //print "Importing " . $article['title'] . "<br/>";
@ -5268,9 +5269,10 @@
$result = db_query($link, $result = db_query($link,
"INSERT INTO ttrss_user_entries "INSERT INTO ttrss_user_entries
(ref_id, owner_uid, feed_id, unread, last_read, marked, (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, 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"); //db_query($link, "COMMIT");
} }