fix
This commit is contained in:
parent
35a4f385b3
commit
446397b5ad
@ -97,7 +97,7 @@ class CustomCommentListTheme extends CommentListTheme {
|
|||||||
* @param bool $trim
|
* @param bool $trim
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function comment_to_html($comment, $trim=false) {
|
protected function comment_to_html(Comment $comment, $trim=false) {
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
$tfe = new TextFormattingEvent($comment->comment);
|
$tfe = new TextFormattingEvent($comment->comment);
|
||||||
|
@ -87,7 +87,7 @@ class CustomCommentListTheme extends CommentListTheme {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
protected function comment_to_html($comment, $trim=false) {
|
protected function comment_to_html(Comment $comment, $trim=false) {
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
$tfe = new TextFormattingEvent($comment->comment);
|
$tfe = new TextFormattingEvent($comment->comment);
|
||||||
|
@ -56,7 +56,7 @@ class CustomCommentListTheme extends CommentListTheme {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
protected function comment_to_html($comment, $trim=false) {
|
protected function comment_to_html(Comment $comment, $trim=false) {
|
||||||
$inner_id = $this->inner_id; // because custom themes can't add params, because PHP
|
$inner_id = $this->inner_id; // because custom themes can't add params, because PHP
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ class CustomCommentListTheme extends CommentListTheme {
|
|||||||
* @param bool $trim
|
* @param bool $trim
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function comment_to_html($comment, $trim=false) {
|
protected function comment_to_html(Comment $comment, $trim=false) {
|
||||||
return $this->rr(parent::comment_to_html($comment, $trim));
|
return $this->rr(parent::comment_to_html($comment, $trim));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user