aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profperm.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profperm.php')
-rw-r--r--mod/profperm.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/mod/profperm.php b/mod/profperm.php
index a91523805..197062936 100644
--- a/mod/profperm.php
+++ b/mod/profperm.php
@@ -95,7 +95,6 @@ function profperm_content(&$a) {
profile_photo_set_profile_perms($profile['id']);
$r = q("SELECT * FROM abook left join xchan on abook_xchan = xchan_hash WHERE abook_channel = %d AND abook_profile = '%s'",
-
intval(local_user()),
dbesc($profile['profile_guid'])
);