From 6a51939ee6d7e566bf26ed2b5b6ed56c80222cae Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 16 May 2013 21:57:39 +0400 Subject: db-prefs: better error output for missing prefs, digest: hide DIGEST_ENABLE pref missing for unitialized users --- include/digest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/digest.php') 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 -- cgit v1.2.3-54-g00ecf