1
0
Fork 0

turn on comment edit

This commit is contained in:
friendica 2012-04-16 03:51:48 -07:00
parent 0b838e4cc7
commit fd2f7dd6ae

View file

@ -559,10 +559,10 @@ function conversation(&$a, $items, $mode, $update, $preview = false) {
} }
} }
$edpost = (((($profile_owner == local_user()) && ($toplevelpost) && (intval($item['wall']) == 1)) || ($mode === 'notes')) if(local_user() && link_compare($a->contact['url'],$item['author-link']))
? array($a->get_baseurl($ssl_state)."/editpost/".$item['id'], t("Edit")) $edpost = array($a->get_baseurl($ssl_state)."/editpost/".$item['id'], t("Edit"));
: False); else
$edpost = false;
$drop = ''; $drop = '';
$dropping = false; $dropping = false;