diff options
author | Andrew Manning <andrewmanning@grid.reticu.li> | 2017-08-24 18:57:52 +0000 |
---|---|---|
committer | Andrew Manning <andrewmanning@grid.reticu.li> | 2017-08-24 18:57:52 +0000 |
commit | 90ec3340e44a3d3c69779f0db33ee49e864f326d (patch) | |
tree | 2b0bc859c3a7d31adcd1c9777d9868b9dbecdeda /Zotlabs/Daemon/Notifier.php | |
parent | cf2609530fcffdc7f5477336232b7cfde8b6403f (diff) | |
parent | cdccf601320ec7e59f5d96438edac34d5ea30085 (diff) | |
download | volse-hubzilla-90ec3340e44a3d3c69779f0db33ee49e864f326d.tar.gz volse-hubzilla-90ec3340e44a3d3c69779f0db33ee49e864f326d.tar.bz2 volse-hubzilla-90ec3340e44a3d3c69779f0db33ee49e864f326d.zip |
Merge remote-tracking branch 'upstream/dev' into doco
Diffstat (limited to 'Zotlabs/Daemon/Notifier.php')
-rw-r--r-- | Zotlabs/Daemon/Notifier.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php index 6763e0ef4..e8cd4dac8 100644 --- a/Zotlabs/Daemon/Notifier.php +++ b/Zotlabs/Daemon/Notifier.php @@ -276,7 +276,7 @@ class Notifier { $deleted_item = true; } - if(intval($target_item['item_type']) != ITEM_TYPE_POST) { + if(! in_array(intval($target_item['item_type']), [ ITEM_TYPE_POST ] )) { logger('notifier: target item not forwardable: type ' . $target_item['item_type'], LOGGER_DEBUG); return; } |