aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-10-18 16:46:09 -0700
committerzotlabs <mike@macgirvin.com>2016-10-18 16:46:09 -0700
commit2db7b2d9487d9393d511998ae0258979fde379c4 (patch)
tree04996358eda8e186a496e054b5223495f947181d /Zotlabs/Module
parentd55fcd055d878d29864bdf609f6e3f26e24837d0 (diff)
downloadvolse-hubzilla-2db7b2d9487d9393d511998ae0258979fde379c4.tar.gz
volse-hubzilla-2db7b2d9487d9393d511998ae0258979fde379c4.tar.bz2
volse-hubzilla-2db7b2d9487d9393d511998ae0258979fde379c4.zip
change event behaviour - share by default.
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Events.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/Zotlabs/Module/Events.php b/Zotlabs/Module/Events.php
index b709cd1f4..a5cc868be 100644
--- a/Zotlabs/Module/Events.php
+++ b/Zotlabs/Module/Events.php
@@ -118,8 +118,10 @@ class Events extends \Zotlabs\Web\Controller {
goaway($onerror_url);
}
- $share = ((intval($_POST['distr'])) ? intval($_POST['distr']) : 0);
-
+ // $share = ((intval($_POST['distr'])) ? intval($_POST['distr']) : 0);
+
+ $share = 1;
+
$channel = \App::get_channel();
$acl = new \Zotlabs\Access\AccessList(false);