]> git.wh0rd.org - tt-rss.git/blobdiff - include/rssfuncs.php
add some more bayes stuff
[tt-rss.git] / include / rssfuncs.php
index 17233914ee1b096ff7d7a9d21aa3028c4efce303..4dbb7c18e427b4a46bad7e014fda58611bf07dbf 100644 (file)
 
                                $article = array("owner_uid" => $owner_uid, // read only
                                        "guid" => $entry_guid, // read only
+                                       "guid_hashed" => $entry_guid_hashed, // read only
                                        "title" => $entry_title,
                                        "content" => $entry_content,
                                        "link" => $entry_link,
                                                        lang = '$entry_language'
                                                WHERE id = '$ref_id'");
 
+                                       // update aux data
+                                       db_query("UPDATE ttrss_user_entries
+                                                       SET score = '$score' WHERE ref_id = '$ref_id'");
+
                                        if ($mark_unread_on_update) {
                                                db_query("UPDATE ttrss_user_entries
                                                        SET last_read = null, unread = true WHERE ref_id = '$ref_id'");