aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php
index 1865d69fc..549536931 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -29,7 +29,7 @@ function profile_aside(&$a) {
}
- $x = q("select uid as profile_uid from channel where address = '%s' limit 1",
+ $x = q("select channel_id as profile_uid from channel where channel_address = '%s' limit 1",
dbesc(argv(1))
);
if($x) {