]> git.mxchange.org Git - friendica.git/commitdiff
acl_automention: fix warning in include/config.php
authorfabrixxm <fabrix.xm@gmail.com>
Mon, 6 Jan 2014 09:58:39 +0000 (10:58 +0100)
committerfabrixxm <fabrix.xm@gmail.com>
Mon, 6 Jan 2014 09:58:39 +0000 (10:58 +0100)
include/acl_selectors.php

index 3306871d00ba3a27b65fe47bfba1e0bb103bb1f4..886bce877387ade50d3bb9ab0c886849a8677938 100644 (file)
@@ -331,7 +331,7 @@ function populate_acl($user = null,$celeb = false) {
                '$denycid' => json_encode($perms['deny_cid']),
                '$denygid' => json_encode($perms['deny_gid']),
                '$features' => array(
-                       "aclautomention"=>(feature_enabled($user,"aclautomention")?"true":"false")
+                       "aclautomention"=>(feature_enabled($user['uid'],"aclautomention")?"true":"false")
                ),
        ));