diff options
author | Max Kostikov <max@kostikov.co> | 2020-12-29 14:50:32 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-12-30 15:39:33 +0100 |
commit | ad08bd62aa56cfbd92d8cba3b8e2622c934e4f96 (patch) | |
tree | c54c337838a9e8b2a78b17f3d34c2b03e83aa98e | |
parent | d79cab068081abe29c3dc2819421514ad4df94ae (diff) | |
download | volse-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)
-rw-r--r-- | Zotlabs/Module/Item.php | 2 |
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) ); |