From: friendica Date: Mon, 16 Apr 2012 10:51:48 +0000 (-0700) Subject: turn on comment edit X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fd2f7dd6ae8871f09674a5325fd4d4ccea56b623;p=friendica.git turn on comment edit --- diff --git a/include/conversation.php b/include/conversation.php index f4a5647427..e5549a9c10 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;