diff options
author | Mario <mario@mariovavti.com> | 2024-10-06 16:47:15 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-10-06 16:47:15 +0000 |
commit | 75184355d02007593d978a13b7e57514e6b08f63 (patch) | |
tree | 64a018a28e9836221616a07da0faabd9a3d634b9 /Zotlabs/Module/Item.php | |
parent | 1988d21e6c64db1a93cc81f80409ce7d918aae7d (diff) | |
download | volse-hubzilla-75184355d02007593d978a13b7e57514e6b08f63.tar.gz volse-hubzilla-75184355d02007593d978a13b7e57514e6b08f63.tar.bz2 volse-hubzilla-75184355d02007593d978a13b7e57514e6b08f63.zip |
whitespace and use empty for check
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r-- | Zotlabs/Module/Item.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index c755fadd0..47358aebd 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -1401,12 +1401,12 @@ class Item extends Controller { $nopush = false; } - if (!$nopush) { - Master::Summon(['Notifier', $notify_type, $post_id]); - if (intval($post['approval_id'])) { - Master::Summon(['Notifier', $notify_type, $post['approval_id']]); - } - } + if (!$nopush) { + Master::Summon(['Notifier', $notify_type, $post_id]); + if (!empty($post['approval_id'])) { + Master::Summon(['Notifier', $notify_type, $post['approval_id']]); + } + } logger('post_complete'); |