summaryrefslogtreecommitdiff
path: root/classes/digest.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/digest.php')
-rw-r--r--classes/digest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/digest.php b/classes/digest.php
index 3e943e6dd..a5dbc0945 100644
--- a/classes/digest.php
+++ b/classes/digest.php
@@ -22,7 +22,7 @@ class Digest
while ($line = $res->fetch()) {
if (get_pref(Prefs::DIGEST_ENABLE, $line['id'])) {
- $preferred_ts = strtotime(get_pref(Prefs::DIGEST_PREFERRED_TIME, $line['id']));
+ $preferred_ts = strtotime(get_pref(Prefs::DIGEST_PREFERRED_TIME, $line['id']) ?? '');
// try to send digests within 2 hours of preferred time
if ($preferred_ts && time() >= $preferred_ts &&