diff --git a/templates/html-templates.php b/templates/html-templates.php index 362d864..0f43002 100644 --- a/templates/html-templates.php +++ b/templates/html-templates.php @@ -103,7 +103,7 @@ class HTMLTemplates {

0 ? self::get_text_options( 'join-discussion-text' ) : self::get_text_options( 'start-discussion-text' ); + $text = $discourse_comments_number > 1 ? self::get_text_options( 'join-discussion-text' ) : self::get_text_options( 'start-discussion-text' ); ?> href="{topic_url}">