diff --git a/plugins/QnA/QnAPlugin.php b/plugins/QnA/QnAPlugin.php index 6841ec9873..ad0541a71c 100644 --- a/plugins/QnA/QnAPlugin.php +++ b/plugins/QnA/QnAPlugin.php @@ -299,6 +299,13 @@ class QnAPlugin extends MicroAppPlugin if ($nli->notice->scope != 0 && $nli->notice->scope != 1) { $class .= ' limited-scope'; } + + $question = QnA_Question::staticGet('uri', $nli->notice->uri); + + if (!empty($question->closed)) { + $class .= ' closed'; + } + $nli->out->elementStart( 'li', array( 'class' => $class,