aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Item.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-10-06 16:47:15 +0000
committerMario <mario@mariovavti.com>2024-10-06 16:47:15 +0000
commit75184355d02007593d978a13b7e57514e6b08f63 (patch)
tree64a018a28e9836221616a07da0faabd9a3d634b9 /Zotlabs/Module/Item.php
parent1988d21e6c64db1a93cc81f80409ce7d918aae7d (diff)
downloadvolse-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.php12
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');