diff --git a/include/notifier.php b/include/notifier.php index d72fa29b5..7d107e4d4 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -236,6 +236,12 @@ function notifier_run($argv, $argc){ return; } + if($target_item['item_restrict'] & ITEM_WEBPAGE) { + logger('notifier: target item ITEM_WEBPAGE', LOGGER_DEBUG); + return; + } + + $s = q("select * from channel where channel_id = %d limit 1", intval($target_item['uid']) );