mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
fixes like/dislike for photos
This commit is contained in:
parent
f5c7006f30
commit
2ff67ef5ed
3 changed files with 19 additions and 6 deletions
|
@ -1364,8 +1364,8 @@ function get_responses($conv_responses,$response_verbs,$ob,$item) {
|
|||
if(count($ret[$v]['list']) > MAX_LIKERS) {
|
||||
$ret[$v]['list_part'] = array_slice($ret[$v]['list'], 0, MAX_LIKERS);
|
||||
array_push($ret[$v]['list_part'], '<a href="#" data-toggle="modal" data-target="#' . $v . 'Modal-'
|
||||
. $ob->get_id() . '"><b>' . t('View all') . '</b></a>');
|
||||
}
|
||||
. (($ob) ? $ob->get_id() : $item['id']) . '"><b>' . t('View all') . '</b></a>');
|
||||
}
|
||||
else {
|
||||
$ret[$v]['list_part'] = '';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue