aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Connedit.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-11-30 10:57:04 +0100
committerMario Vavti <mario@mariovavti.com>2016-11-30 10:57:04 +0100
commit53e4b55ea3722a161b308e4891a2e84ad9ba77af (patch)
tree8504c9e9ff0082d13151aaee4e29f13b01640a02 /Zotlabs/Module/Connedit.php
parentf32f7d2308957daaf2e3640866d50f740ee6d809 (diff)
parent7b31e5918e72d4812e23a35d1ea4edd6853d3b7a (diff)
downloadvolse-hubzilla-53e4b55ea3722a161b308e4891a2e84ad9ba77af.tar.gz
volse-hubzilla-53e4b55ea3722a161b308e4891a2e84ad9ba77af.tar.bz2
volse-hubzilla-53e4b55ea3722a161b308e4891a2e84ad9ba77af.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'Zotlabs/Module/Connedit.php')
-rw-r--r--Zotlabs/Module/Connedit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Module/Connedit.php b/Zotlabs/Module/Connedit.php
index 47e1ce167..5968ccde6 100644
--- a/Zotlabs/Module/Connedit.php
+++ b/Zotlabs/Module/Connedit.php
@@ -398,6 +398,7 @@ class Connedit extends \Zotlabs\Web\Controller {
return login();
}
+ $section = ((array_key_exists('section',$_REQUEST)) ? $_REQUEST['section'] : '');
$channel = \App::get_channel();
$my_perms = get_channel_default_perms(local_channel());
$role = get_pconfig(local_channel(),'system','permissions_role');
@@ -779,6 +780,7 @@ class Connedit extends \Zotlabs\Web\Controller {
'$header' => (($self) ? t('Connection Default Permissions') : sprintf( t('Connection: %s'),$contact['xchan_name'])),
'$autoperms' => array('autoperms',t('Apply these permissions automatically'), ((get_pconfig(local_channel(),'system','autoperms')) ? 1 : 0), t('Connection requests will be approved without your interaction'), $yes_no),
'$addr' => $contact['xchan_addr'],
+ '$section' => $section,
'$addr_text' => t('This connection\'s primary address is'),
'$loc_text' => t('Available locations:'),
'$locstr' => $locstr,