1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-04 08:49:15 +00:00

db-prefs: better error output for missing prefs, digest: hide DIGEST_ENABLE pref missing for unitialized users

This commit is contained in:
Andrew Dolgov
2013-05-16 21:57:39 +04:00
parent 6e098e5e8c
commit 6a51939ee6
2 changed files with 2 additions and 2 deletions

View 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