mirror of
https://github.com/friendica/friendica
synced 2025-04-25 20:30:11 +00:00
"parent = id" is replaced with gravity check
This commit is contained in:
parent
bdfe47dcfd
commit
0acb5d4558
6 changed files with 12 additions and 9 deletions
|
@ -823,7 +823,7 @@ function item_photo_menu($item) {
|
|||
$block_link = '';
|
||||
$ignore_link = '';
|
||||
|
||||
if (local_user() && local_user() == $item['uid'] && $item['parent'] == $item['id'] && !$item['self']) {
|
||||
if (local_user() && local_user() == $item['uid'] && $item['gravity'] == GRAVITY_PARENT && !$item['self']) {
|
||||
$sub_link = 'javascript:dosubthread(' . $item['id'] . '); return false;';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue