mailto plugin: only mail unique articles
This commit is contained in:
parent
d7482a503a
commit
18c1b21d28
|
@ -41,7 +41,7 @@ class MailTo extends Plugin {
|
|||
$tpl->setVariable('TTRSS_HOST', $_SERVER["HTTP_HOST"], true);
|
||||
|
||||
|
||||
$result = db_query("SELECT link, content, title
|
||||
$result = db_query("SELECT DISTINCT link, content, title
|
||||
FROM ttrss_user_entries, ttrss_entries WHERE id = ref_id AND
|
||||
id IN ($param) AND owner_uid = " . $_SESSION["uid"]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue