From e9b5b0f0b424930b87708080c4e6ce671016177b Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 16 Dec 2012 20:20:29 -0800 Subject: several small fixes and adjustments --- mod/channel.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod/channel.php') 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; -- cgit v1.2.3