]> git.wh0rd.org - tt-rss.git/blobdiff - include/digest.php
db-prefs: better error output for missing prefs, digest: hide DIGEST_ENABLE pref...
[tt-rss.git] / include / digest.php
index 965fd1a7935f29d371bcdb7af824338ab211cde9..4427936e58cab7893f1233db08102bba1c1705d5 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