obscure permission issue with custom permissions when using the highly discouraged advisory privacy modes
This commit is contained in:
@@ -969,6 +969,10 @@ function import_author_unknown($x) {
|
||||
return false;
|
||||
}
|
||||
|
||||
function empty_acl($item) {
|
||||
return (($item['allow_cid'] === EMPTY_STR && $item['allow_gid'] === EMPTY_STR && $item['deny_cid'] === EMPTY_STR && $item['deny_gid'] === EMPTY_STR) ? true : false);
|
||||
}
|
||||
|
||||
function encode_item($item,$mirror = false) {
|
||||
$x = array();
|
||||
$x['type'] = 'activity';
|
||||
|
Reference in New Issue
Block a user