aboutsummaryrefslogtreecommitdiffstats
path: root/include/permissions.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-09 21:23:00 -0700
committerredmatrix <git@macgirvin.com>2016-07-09 21:23:00 -0700
commite6638b471553126a65a7b1f43685ea1482d905de (patch)
treeff7da6d9f3d3da07c43b2b2be5e1b8bce85ef8d2 /include/permissions.php
parentc9db8c6857d8676b3eb3c19548eb303656dc5fff (diff)
downloadvolse-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.php2
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) {