+
+ + {$comment->getText()|noescape} +
+
+ + {_support_greeting_regargs} {=OPENVK_ROOT_CONF["openvk"]["appearance"]["name"]}. + {else} + {$comment->getText()|noescape} + {/if}
diff --git a/Web/Presenters/SupportPresenter.php b/Web/Presenters/SupportPresenter.php
index 5ed04efc..ac680ff7 100644
--- a/Web/Presenters/SupportPresenter.php
+++ b/Web/Presenters/SupportPresenter.php
@@ -181,7 +181,7 @@ final class SupportPresenter extends OpenVKPresenter
$comment = new TicketComment;
$comment->setUser_id($this->user->id);
$comment->setUser_type(1);
- $comment->setText('Здравствуйте, '.$ticket->getUser()->getFirstName().'!
'.$this->postParam("text").'
С уважением,
Команда поддержки OpenVK.');
+ $comment->setText($this->postParam("text"));
$comment->setTicket_id($id);
$comment->setCreated(time());
$comment->save();
diff --git a/Web/Presenters/templates/Support/AnswerTicket.xml b/Web/Presenters/templates/Support/AnswerTicket.xml
index 200b8ca2..2e063f4a 100644
--- a/Web/Presenters/templates/Support/AnswerTicket.xml
+++ b/Web/Presenters/templates/Support/AnswerTicket.xml
@@ -40,6 +40,7 @@
Комментарии отсутствуют
+{var $printedSupportGreeting = false}