Linker::formatComment accepts a Title object or null whereas
$titles is an array. I was working hard to reproduce a failure
but I couldn't since this code will only be executed with
an empty array (which evaluates to false when if-checked).
Per Anomie's suggestion, there should be no argument.
Discovered using phan.
Change-Id: I5a4df146d077cd879347709a399dce8303f41ccc
if ( isset( $prop['parsedcomment'] ) ) {
$vals['parsedcomment'] = Linker::formatComment(
- $commentStore->getComment( 'pt_reason', $row )->text, $titles
+ $commentStore->getComment( 'pt_reason', $row )->text
);
}