summaryrefslogtreecommitdiff
path: root/include/digest.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-16 21:57:39 +0400
committerAndrew Dolgov <[email protected]>2013-05-16 21:57:39 +0400
commit6a51939ee6d7e566bf26ed2b5b6ed56c80222cae (patch)
tree50ee51469319a2957624de06ad02ad7107f9ab55 /include/digest.php
parent6e098e5e8cf5418ca2caace71f02370a47a34117 (diff)
db-prefs: better error output for missing prefs, digest: hide DIGEST_ENABLE pref missing for unitialized users
Diffstat (limited to 'include/digest.php')
-rw-r--r--include/digest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/digest.php b/include/digest.php
index 965fd1a79..4427936e5 100644
--- a/include/digest.php
+++ b/include/digest.php
@@ -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