aboutsummaryrefslogtreecommitdiffstats
path: root/mod/channel.php
diff options
context:
space:
mode:
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;