X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryProtectedTitles.php;h=8edf00cf5708b7e1969e32d7878a41ed1b07a40a;hb=25be8cc5859e2f9f6560d6d1d52a47888023fbd6;hp=f5266850bd2a56f659f0a5cf2e7b9377ae7e7324;hpb=0c2687f44eb0e8c7f480b7303f89056682ba0bfb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryProtectedTitles.php b/includes/api/ApiQueryProtectedTitles.php index f5266850bd..8edf00cf57 100644 --- a/includes/api/ApiQueryProtectedTitles.php +++ b/includes/api/ApiQueryProtectedTitles.php @@ -135,7 +135,7 @@ class ApiQueryProtectedTitles extends ApiQueryGeneratorBase { if ( isset( $prop['parsedcomment'] ) ) { $vals['parsedcomment'] = Linker::formatComment( - $commentStore->getComment( 'pt_reason', $row )->text, $titles + $commentStore->getComment( 'pt_reason', $row )->text ); }