Update fever_api.php

Add shared articles to saved items.
This commit is contained in:
wjchen
2013-07-23 22:14:13 +08:00
parent 1d06634bb8
commit 66056a9ee9

View File

@@ -507,7 +507,7 @@ class FeverAPI extends Handler {
$savedItemIdsCSV = "";
$result = $this->dbh->query("SELECT ref_id
FROM ttrss_user_entries
WHERE owner_uid = '" . db_escape_string($_SESSION["uid"]) . "'" . "AND marked OR published OR feed_id IS NULL");
WHERE owner_uid = '" . db_escape_string($_SESSION["uid"]) . "'" . "AND marked OR published OR feed_id IS NULL OR uuid != ''");
while ($line = $this->dbh->fetch_assoc($result))
{