]> git.mxchange.org Git - friendica.git/commitdiff
Avoiding a warning in the error.log
authorMichael Vogel <icarus@dabo.de>
Mon, 13 Jan 2014 06:49:10 +0000 (07:49 +0100)
committerMichael Vogel <icarus@dabo.de>
Mon, 13 Jan 2014 06:49:10 +0000 (07:49 +0100)
include/acl_selectors.php

index b4d91e08e55966ef8e9706e7aff523e93ec3022b..a95c76ca3a1a1711324ad0c3b27efa6aa776a51f 100644 (file)
@@ -338,7 +338,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($uid,"aclautomention")?"true":"false")
                ),
        ));