notification issue
This commit is contained in:
parent
11b4d98f37
commit
a6d47ca772
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user