diff options
author | redmatrix <git@macgirvin.com> | 2016-07-09 21:23:00 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-09 21:23:00 -0700 |
commit | e6638b471553126a65a7b1f43685ea1482d905de (patch) | |
tree | ff7da6d9f3d3da07c43b2b2be5e1b8bce85ef8d2 /include/permissions.php | |
parent | c9db8c6857d8676b3eb3c19548eb303656dc5fff (diff) | |
download | volse-hubzilla-e6638b471553126a65a7b1f43685ea1482d905de.tar.gz volse-hubzilla-e6638b471553126a65a7b1f43685ea1482d905de.tar.bz2 volse-hubzilla-e6638b471553126a65a7b1f43685ea1482d905de.zip |
change default so we don't have to check for array existence later
Diffstat (limited to 'include/permissions.php')
-rw-r--r-- | include/permissions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/permissions.php b/include/permissions.php index 8e2f9598b..5527d0afc 100644 --- a/include/permissions.php +++ b/include/permissions.php @@ -81,7 +81,7 @@ function get_all_perms($uid, $observer_xchan, $internal_use = true) { $ret = array(); - $abperms = (($uid && $observer_xchan) ? load_abconfig($uid,$observer_xchan) : false); + $abperms = (($uid && $observer_xchan) ? load_abconfig($uid,$observer_xchan) : array()); foreach($global_perms as $perm_name => $permission) { |