diff options
author | redmatrix <git@macgirvin.com> | 2016-07-13 19:53:28 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-13 19:53:28 -0700 |
commit | 1fd65c934da1efcbc3e44c5ec1c5112859ba50f9 (patch) | |
tree | f2d71a643080caace31370a71e2f365e22946f8d /Zotlabs/Module/Connedit.php | |
parent | b72720f6b6070fa5c5036f8600c82454b378d1d0 (diff) | |
download | volse-hubzilla-1fd65c934da1efcbc3e44c5ec1c5112859ba50f9.tar.gz volse-hubzilla-1fd65c934da1efcbc3e44c5ec1c5112859ba50f9.tar.bz2 volse-hubzilla-1fd65c934da1efcbc3e44c5ec1c5112859ba50f9.zip |
lots more permission work
Diffstat (limited to 'Zotlabs/Module/Connedit.php')
-rw-r--r-- | Zotlabs/Module/Connedit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Connedit.php b/Zotlabs/Module/Connedit.php index 8aecfca4c..f9b1336a8 100644 --- a/Zotlabs/Module/Connedit.php +++ b/Zotlabs/Module/Connedit.php @@ -133,7 +133,7 @@ class Connedit extends \Zotlabs\Web\Controller { if($all_perms) { foreach($all_perms as $perm => $desc) { - if(in_array('perms_' . $perm, $_POST)) { + if(array_key_exists('perms_' . $perm, $_POST)) { set_abconfig($channel['channel_id'],$orig_record[0]['abook_xchan'],'my_perms',$perm, intval($_POST['perms_' . $perm])); $abook_my_perms ++; |