aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-16 17:01:13 -0800
committerfriendica <info@friendica.com>2015-02-16 17:01:13 -0800
commit533f39debe494dc826570ff030fcda35041d9038 (patch)
tree5acd57c5d5d9506995482b4911054f529f592d91 /include/conversation.php
parent1d1676094dd82482f113d6de9c2a95407a1a692f (diff)
downloadvolse-hubzilla-533f39debe494dc826570ff030fcda35041d9038.tar.gz
volse-hubzilla-533f39debe494dc826570ff030fcda35041d9038.tar.bz2
volse-hubzilla-533f39debe494dc826570ff030fcda35041d9038.zip
bring back like/dislike summaries on photos
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 17822d0d5..8bc42b34b 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1664,7 +1664,7 @@ 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'] = '';