aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Enotify.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-22 14:24:38 -0800
committerzotlabs <mike@macgirvin.com>2016-11-22 14:24:38 -0800
commita6d47ca77294b8fc4c2538b95d772b3be505fcf1 (patch)
tree39b11861c799dad1458c4bbf39ff8afd86d933f1 /Zotlabs/Lib/Enotify.php
parent11b4d98f37c2f2daeb2fb19e1b4c8ab5190ea3c5 (diff)
downloadvolse-hubzilla-a6d47ca77294b8fc4c2538b95d772b3be505fcf1.tar.gz
volse-hubzilla-a6d47ca77294b8fc4c2538b95d772b3be505fcf1.tar.bz2
volse-hubzilla-a6d47ca77294b8fc4c2538b95d772b3be505fcf1.zip
notification issue
Diffstat (limited to 'Zotlabs/Lib/Enotify.php')
-rw-r--r--Zotlabs/Lib/Enotify.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index b6f4d3351..c64ff9868 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -102,7 +102,7 @@ class Enotify {
$title = $params['item']['title'];
$body = $params['item']['body'];
}
- if($item['created'] < datetime_convert('UTC','UTC','now - 1 month')) {
+ if($params['item']['created'] < datetime_convert('UTC','UTC','now - 1 month')) {
logger('notification invoked for an old item which may have been refetched.',LOGGER_DEBUG,LOG_INFO);
return;
}