notification issue

This commit is contained in:
zotlabs 2016-11-22 14:24:38 -08:00
parent 11b4d98f37
commit a6d47ca772

View File

@ -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;
}