diff options
author | friendica <info@friendica.com> | 2012-04-16 03:51:48 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-16 03:51:48 -0700 |
commit | fd2f7dd6ae8871f09674a5325fd4d4ccea56b623 (patch) | |
tree | 8ed665432fc5014a7a75c77eebaaa14b8b714f7c /include | |
parent | 0b838e4cc7031f807808c05b377252b9600840fb (diff) | |
download | volse-hubzilla-fd2f7dd6ae8871f09674a5325fd4d4ccea56b623.tar.gz volse-hubzilla-fd2f7dd6ae8871f09674a5325fd4d4ccea56b623.tar.bz2 volse-hubzilla-fd2f7dd6ae8871f09674a5325fd4d4ccea56b623.zip |
turn on comment edit
Diffstat (limited to 'include')
-rw-r--r-- | include/conversation.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/conversation.php b/include/conversation.php index f4a564742..e5549a9c1 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -559,10 +559,10 @@ function conversation(&$a, $items, $mode, $update, $preview = false) { } } - $edpost = (((($profile_owner == local_user()) && ($toplevelpost) && (intval($item['wall']) == 1)) || ($mode === 'notes')) - ? array($a->get_baseurl($ssl_state)."/editpost/".$item['id'], t("Edit")) - : False); - + if(local_user() && link_compare($a->contact['url'],$item['author-link'])) + $edpost = array($a->get_baseurl($ssl_state)."/editpost/".$item['id'], t("Edit")); + else + $edpost = false; $drop = ''; $dropping = false; |