mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2026-05-05 15:46:10 +02:00
mail plugin: only mail unique articles
This commit is contained in:
parent
6cdeaae350
commit
d7482a503a
@ -56,7 +56,7 @@ class Mail extends Plugin {
|
||||
$tpl->setVariable('USER_EMAIL', $user_email, true);
|
||||
$tpl->setVariable('TTRSS_HOST', $_SERVER["HTTP_HOST"], true);
|
||||
|
||||
$result = db_query("SELECT link, content, title, note
|
||||
$result = db_query("SELECT DISTINCT link, content, title, note
|
||||
FROM ttrss_user_entries, ttrss_entries WHERE id = ref_id AND
|
||||
id IN ($param) AND owner_uid = " . $_SESSION["uid"]);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user