aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-09-25 17:57:20 -0700
committerfriendica <info@friendica.com>2012-09-25 17:57:20 -0700
commitfbafd92f7f7b96b215b98f30de9a1ccbdb3479be (patch)
treef1f6739d513ac297fbd14162b8377cc4cf84c784 /mod/profile.php
parentdd5725c2725b742473ce285dce8573da37fb8053 (diff)
downloadvolse-hubzilla-fbafd92f7f7b96b215b98f30de9a1ccbdb3479be.tar.gz
volse-hubzilla-fbafd92f7f7b96b215b98f30de9a1ccbdb3479be.tar.bz2
volse-hubzilla-fbafd92f7f7b96b215b98f30de9a1ccbdb3479be.zip
moving a lot of structure around. 'entity' is now 'channel'
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php
index ee457c8b6..aaa324078 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -20,8 +20,10 @@ function profile_init(&$a) {
$profile = 0;
+ $channel = $a->get_channel();
+
if((local_user()) && (argc() > 2) && (argv(2) === 'view')) {
- $which = $a->identity['entity_address'];
+ $which = $channel['channel_address'];
$profile = argv(1);
}