diff options
author | zotlabs <mike@macgirvin.com> | 2017-03-18 16:41:43 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-03-18 16:41:43 -0700 |
commit | 4afeefb5ce2119541a6d2a0a0b332c7a9a59a2b4 (patch) | |
tree | c481814a4031c480f99e480e00bbd7bb1c837f91 /Zotlabs/Module/Settings/Permcats.php | |
parent | d9037589407162f51578856b084baaa5353a8a04 (diff) | |
download | volse-hubzilla-4afeefb5ce2119541a6d2a0a0b332c7a9a59a2b4.tar.gz volse-hubzilla-4afeefb5ce2119541a6d2a0a0b332c7a9a59a2b4.tar.bz2 volse-hubzilla-4afeefb5ce2119541a6d2a0a0b332c7a9a59a2b4.zip |
various input filter fixes
Diffstat (limited to 'Zotlabs/Module/Settings/Permcats.php')
-rw-r--r-- | Zotlabs/Module/Settings/Permcats.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Module/Settings/Permcats.php b/Zotlabs/Module/Settings/Permcats.php index 35d533196..771e76cbd 100644 --- a/Zotlabs/Module/Settings/Permcats.php +++ b/Zotlabs/Module/Settings/Permcats.php @@ -42,8 +42,6 @@ class Permcats { function get() { -logger('cmd: ' . \App::$cmd); - if(! local_channel()) return; @@ -85,7 +83,7 @@ logger('cmd: ' . \App::$cmd); if($existing[$k]) $thisperm = "1"; - $perms[] = array('perms_' . $k, $v, ((array_key_exists($k,$their_perms)) ? intval($their_perms[$k]) : ''),$thisperm, 1, (($checkinherited & PERMS_SPECIFIC) ? '' : '1'), '', $checkinherited); + $perms[] = array('perms_' . $k, $v, '',$thisperm, 1, (($checkinherited & PERMS_SPECIFIC) ? '' : '1'), '', $checkinherited); } |