Merge branch '1.1.x'

This commit is contained in:
Evan Prodromou 2012-07-09 09:46:45 -04:00
commit b4dbd23ed2
1 changed files with 1 additions and 7 deletions

View File

@ -115,13 +115,7 @@ class QnashowquestionAction extends ShownoticeAction
}
if (count($answerIds) > 0) {
$notice = new Notice();
$notice->query(
sprintf(
'SELECT notice.* FROM notice WHERE notice.id IN (%s)',
implode(',', $answerIds)
)
);
$notice = Notice::multiGet('id', $answerIds);
$nli = new NoticeList($notice, $this);
$nli->show();