diff options
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php index dddf0aade..b22f77d91 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -204,7 +204,11 @@ function notifier_run($argv, $argc){ $r = fetch_post_tags($r); $target_item = $r[0]; - + + if($target_item['item_restrict'] & ITEM_DELETED) + logger('notifier: target item ITEM_DELETED', LOGGER_DEBUG); + + $s = q("select * from channel where channel_id = %d limit 1", intval($target_item['uid']) ); |