aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Events.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-09-22 16:52:37 -0700
committerredmatrix <mike@macgirvin.com>2016-09-22 16:52:37 -0700
commitbe6c4019f6f6cbc76e06a88401dca95bc158a825 (patch)
tree8d329ef05fe3e476a55f012cf01246a066e3143f /Zotlabs/Module/Events.php
parent8b8712c15b968542c8fe770d1b99e296642a958c (diff)
parent4ffa4084207055cc0babd497a25bd41384b09a6a (diff)
downloadvolse-hubzilla-be6c4019f6f6cbc76e06a88401dca95bc158a825.tar.gz
volse-hubzilla-be6c4019f6f6cbc76e06a88401dca95bc158a825.tar.bz2
volse-hubzilla-be6c4019f6f6cbc76e06a88401dca95bc158a825.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'Zotlabs/Module/Events.php')
-rw-r--r--Zotlabs/Module/Events.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Events.php b/Zotlabs/Module/Events.php
index d27de9989..2bff4676e 100644
--- a/Zotlabs/Module/Events.php
+++ b/Zotlabs/Module/Events.php
@@ -118,7 +118,7 @@ class Events extends \Zotlabs\Web\Controller {
goaway($onerror_url);
}
- $share = ((intval($_POST['share'])) ? intval($_POST['share']) : 0);
+ $share = ((intval($_POST['distr'])) ? intval($_POST['distr']) : 0);
$channel = \App::get_channel();
@@ -469,7 +469,7 @@ class Events extends \Zotlabs\Web\Controller {
'$t_orig' => $t_orig,
'$sh_text' => t('Share this event'),
'$sh_checked' => $sh_checked,
- '$share' => array('share', t('Share this event'), $sh_checked, '', array(t('No'),t('Yes'))),
+ '$share' => array('distr', t('Share this event'), $sh_checked, '', array(t('No'),t('Yes'))),
'$preview' => t('Preview'),
'$perms_label' => t('Permission settings'),
// populating the acl dialog was a permission description from view_stream because Cal.php, which