aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2024-10-10 14:18:23 +0200
committerMario Vavti <mario@mariovavti.com>2024-10-10 14:18:23 +0200
commite8eb283fd84cb1dfd83b7138149a75511ea8b581 (patch)
tree3a1572f9fda40f1f312561c38ca8954e4a2ba8f0 /Zotlabs/Lib/Activity.php
parent96d53701222f30bc4580659e4d36f1c04d07035a (diff)
downloadvolse-hubzilla-e8eb283fd84cb1dfd83b7138149a75511ea8b581.tar.gz
volse-hubzilla-e8eb283fd84cb1dfd83b7138149a75511ea8b581.tar.bz2
volse-hubzilla-e8eb283fd84cb1dfd83b7138149a75511ea8b581.zip
fix c/p typo
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 358bb16f0..c95552562 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -3790,7 +3790,7 @@ class Activity {
->setPrivate($sourceItem['item_private'])
->setNocomment($sourceItem['item_nocomment'])
->setCommentPolicy($sourceItem['comment_policy'])
- ->setPublicPolicy($sourceItem['comment_policy'])
+ ->setPublicPolicy($sourceItem['public_policy'])
->setPostopts($sourceItem['postopts']);
}
$result = post_activity_item($item->toArray(), deliver: $deliver, channel: $channel, observer: $channel, addAndSync: false);