diff options
author | zotlabs <mike@macgirvin.com> | 2017-02-09 19:52:13 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-02-09 19:52:13 -0800 |
commit | 1fb37f93ccf4739a6f92f3f36c1ee4ec8ef66a07 (patch) | |
tree | 2fdf66b9da436e25510384a1670ae2e341f961fc /Zotlabs/Access/Permissions.php | |
parent | fce33402e74f7ff6066ef859e7801a9201db28e1 (diff) | |
download | volse-hubzilla-1fb37f93ccf4739a6f92f3f36c1ee4ec8ef66a07.tar.gz volse-hubzilla-1fb37f93ccf4739a6f92f3f36c1ee4ec8ef66a07.tar.bz2 volse-hubzilla-1fb37f93ccf4739a6f92f3f36c1ee4ec8ef66a07.zip |
more permissions optimisations
Diffstat (limited to 'Zotlabs/Access/Permissions.php')
-rw-r--r-- | Zotlabs/Access/Permissions.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Access/Permissions.php b/Zotlabs/Access/Permissions.php index 52526d020..d51e4d0ea 100644 --- a/Zotlabs/Access/Permissions.php +++ b/Zotlabs/Access/Permissions.php @@ -94,6 +94,10 @@ class Permissions { // Undeclared permissions are set to 0 static public function FilledPerms($arr) { + if(is_null($arr)) { + btlogger('FilledPerms: null'); + } + $everything = self::Perms(); $ret = []; foreach($everything as $k => $v) { |