Merge pull request #886 from fabrixxm/illegaloffset
acl_automention: fix warning in include/config.php
This commit is contained in:
commit
2578211e47
|
@ -331,7 +331,7 @@ function populate_acl($user = null,$celeb = false) {
|
||||||
'$denycid' => json_encode($perms['deny_cid']),
|
'$denycid' => json_encode($perms['deny_cid']),
|
||||||
'$denygid' => json_encode($perms['deny_gid']),
|
'$denygid' => json_encode($perms['deny_gid']),
|
||||||
'$features' => array(
|
'$features' => array(
|
||||||
"aclautomention"=>(feature_enabled($user,"aclautomention")?"true":"false")
|
"aclautomention"=>(feature_enabled($user['uid'],"aclautomention")?"true":"false")
|
||||||
),
|
),
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue