aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-10 04:55:29 -0800
committerfriendica <info@friendica.com>2013-02-10 04:55:29 -0800
commit99c5f88963227a48544747e9dc8b13550b88c0f2 (patch)
tree115070a6941baf51a5388be67b312e499f800e2c /include/conversation.php
parent260a012b02c4941655e897735eeac09dadcf98c4 (diff)
downloadvolse-hubzilla-99c5f88963227a48544747e9dc8b13550b88c0f2.tar.gz
volse-hubzilla-99c5f88963227a48544747e9dc8b13550b88c0f2.tar.bz2
volse-hubzilla-99c5f88963227a48544747e9dc8b13550b88c0f2.zip
mod_display - no fun. Not working at all. But a bit of progress.
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 4758721a5..fe4ac54f5 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -409,6 +409,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
. ((x($_GET,'cmin')) ? '&cmin=' . $_GET['cmin'] : '')
. ((x($_GET,'cmax')) ? '&cmax=' . $_GET['cmax'] : '')
. ((x($_GET,'file')) ? '&file=' . $_GET['file'] : '')
+ . ((x($_GET,'uri')) ? '&uri=' . $_GET['uri'] : '')
. "'; var profile_page = " . $a->pager['page'] . "; </script>\r\n";
}
@@ -435,8 +436,8 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional') {
}
elseif($mode === 'display') {
- $profile_owner = $a->profile['uid'];
- $page_writeable = ($profile_owner == local_user());
+ $profile_owner = local_user();
+ $page_writeable = false;
$live_update_div = '<div id="live-display"></div>' . "\r\n";