security fix for op=digestTest

This commit is contained in:
Andrew Dolgov 2006-08-21 05:03:26 +01:00
parent 8a79737655
commit 448b0abdd5
2 changed files with 2 additions and 0 deletions

View File

@ -3946,6 +3946,7 @@
if ($op == "digestTest") {
header("Content-Type: text/plain");
echo prepare_headlines_digest($link, $_SESSION["uid"]);
$print_exec_time = false;

View File

@ -2398,6 +2398,7 @@
WHERE
ref_id = ttrss_entries.id AND feed_id = ttrss_feeds.id
AND $interval_query
AND ttrss_user_entries.owner_uid = $user_id
AND unread = true ORDER BY ttrss_feeds.title, date_entered DESC
LIMIT $limit");