aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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');