aboutsummaryrefslogtreecommitdiffstats
path: root/mod/channel.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-12-16 20:20:29 -0800
committerfriendica <info@friendica.com>2012-12-16 20:20:29 -0800
commite9b5b0f0b424930b87708080c4e6ce671016177b (patch)
tree436092bdee53c0e2a195bb0cc580c5cbc1c6e731 /mod/channel.php
parentfa8b4e98b727a2af58fea55e93546089fe9bea2b (diff)
downloadvolse-hubzilla-e9b5b0f0b424930b87708080c4e6ce671016177b.tar.gz
volse-hubzilla-e9b5b0f0b424930b87708080c4e6ce671016177b.tar.bz2
volse-hubzilla-e9b5b0f0b424930b87708080c4e6ce671016177b.zip
several small fixes and adjustments
Diffstat (limited to 'mod/channel.php')
-rw-r--r--mod/channel.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/mod/channel.php b/mod/channel.php
index 7fecad427..75dc0d83c 100644
--- a/mod/channel.php
+++ b/mod/channel.php
@@ -74,6 +74,9 @@ function channel_content(&$a, $update = 0, $load = false) {
$tab = 'posts';
$o = '';
+
+ $is_owner = (((local_user()) && ($a->profile['profile_uid'] == local_user())) ? true : false);
+
if($update) {
// Ensure we've got a profile owner if updating.
$a->profile['profile_uid'] = $update;