aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Item.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2020-12-29 15:50:32 +0100
committerMario <mario@mariovavti.com>2020-12-29 15:50:32 +0100
commitc063fe07205bb22401d2a2c29a1829e17e5b7a66 (patch)
tree8bd26a4c37c8ba54b1d53c7a5fbb90b6340b73b7 /Zotlabs/Module/Item.php
parent203ba7343c6d927f135f5dea4ba3f5242643191f (diff)
downloadvolse-hubzilla-c063fe07205bb22401d2a2c29a1829e17e5b7a66.tar.gz
volse-hubzilla-c063fe07205bb22401d2a2c29a1829e17e5b7a66.tar.bz2
volse-hubzilla-c063fe07205bb22401d2a2c29a1829e17e5b7a66.zip
Revert "Fix sync item with Zot connections"
This reverts commit 3db4aa69440553788d8f46cf4bbfb38ca4f09130
Diffstat (limited to 'Zotlabs/Module/Item.php')
-rw-r--r--Zotlabs/Module/Item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index 9a120dac1..f74b1e321 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -1337,7 +1337,7 @@ class Item extends Controller {
killme();
}
- if(($parent == $post_id) || ($datarray['item_private'] == 1)) {
+ if($parent || $datarray['item_private'] == 1) {
$r = q("select * from item where id = %d",
intval($post_id)
);