forked from GNUsocial/gnu-social
QnA - best answers were not getting the 'best' class on their lis (fixed)
This commit is contained in:
@@ -309,7 +309,7 @@ class QnAPlugin extends MicroAppPlugin
|
||||
|
||||
$cls = array('hentry', 'notice', 'answer');
|
||||
|
||||
$answer = QnA_Answer::staticGet('uri', $notice->uri);
|
||||
$answer = QnA_Answer::staticGet('uri', $nli->notice->uri);
|
||||
|
||||
if (!empty($answer) && !empty($answer->best)) {
|
||||
$cls[] = 'best';
|
||||
|
Reference in New Issue
Block a user