]> git.wh0rd.org - tt-rss.git/blobdiff - include/digest.php
Merge pull request #408 from Trottel/patch-3
[tt-rss.git] / include / digest.php
index 965fd1a7935f29d371bcdb7af824338ab211cde9..71ee6d2036e4affed3f099d263adf59c3f5d2291 100644 (file)
@@ -26,7 +26,7 @@
 
                while ($line = db_fetch_assoc($result)) {
 
-                       if (get_pref('DIGEST_ENABLE', $line['id'], false)) {
+                       if (@get_pref('DIGEST_ENABLE', $line['id'], false)) {
                                $preferred_ts = strtotime(get_pref('DIGEST_PREFERRED_TIME', $line['id'], '00:00'));
 
                                // try to send digests within 2 hours of preferred time
                        ORDER BY ttrss_feed_categories.title, ttrss_feeds.title, score DESC, date_updated DESC
                        LIMIT $limit");
 
-               $cur_feed_title = "";
-
                $headlines_count = db_num_rows($result);
 
                $headlines = array();