mirror of https://github.com/friendica/friendica
turn on comment edit
This commit is contained in:
parent
0b838e4cc7
commit
fd2f7dd6ae
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue