]> git.mxchange.org Git - friendica.git/blobdiff - mod/attach.php
Merge pull request #6005 from nupplaphil/friendica-5996
[friendica.git] / mod / attach.php
index 97eb10997e6bbe5cf2d364cc12c9385495c2ed70..9ca701ba356ebde93865136b15dd19ef927d33b0 100644 (file)
@@ -27,7 +27,7 @@ function attach_init(App $a)
                return;
        }
 
-       $sql_extra = Security::permissions_sql($r['uid']);
+       $sql_extra = Security::getPermissionsSQLByUserId($r['uid']);
 
        // Now we'll see if we can access the attachment