aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-12-29 15:50:33 +0100
committerMario <mario@mariovavti.com>2020-12-29 15:50:33 +0100
commitaf0f46d23d986e72c044fddea94a95ca83b56c0c (patch)
tree8bd26a4c37c8ba54b1d53c7a5fbb90b6340b73b7 /Zotlabs/Module
parent203ba7343c6d927f135f5dea4ba3f5242643191f (diff)
parentc063fe07205bb22401d2a2c29a1829e17e5b7a66 (diff)
downloadvolse-hubzilla-af0f46d23d986e72c044fddea94a95ca83b56c0c.tar.gz
volse-hubzilla-af0f46d23d986e72c044fddea94a95ca83b56c0c.tar.bz2
volse-hubzilla-af0f46d23d986e72c044fddea94a95ca83b56c0c.zip
Merge branch 'cloneissue' into 'dev'
Fix sync comments with clones See merge request hubzilla/core!1889
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)
);