aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2020-12-29 14:50:32 +0000
committerMario <mario@mariovavti.com>2020-12-30 15:39:33 +0100
commitad08bd62aa56cfbd92d8cba3b8e2622c934e4f96 (patch)
treec54c337838a9e8b2a78b17f3d34c2b03e83aa98e /Zotlabs/Module
parentd79cab068081abe29c3dc2819421514ad4df94ae (diff)
downloadvolse-hubzilla-ad08bd62aa56cfbd92d8cba3b8e2622c934e4f96.tar.gz
volse-hubzilla-ad08bd62aa56cfbd92d8cba3b8e2622c934e4f96.tar.bz2
volse-hubzilla-ad08bd62aa56cfbd92d8cba3b8e2622c934e4f96.zip
Revert "Fix sync item with Zot connections"
This reverts commit 3db4aa69440553788d8f46cf4bbfb38ca4f09130 (cherry picked from commit c063fe07205bb22401d2a2c29a1829e17e5b7a66)
Diffstat (limited to 'Zotlabs/Module')
-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)
);