mirror of
https://github.com/openvk/openvk
synced 2025-07-07 00:09:48 +03:00
Update SupportPresenter.php
This commit is contained in:
parent
21c900ac26
commit
06c3ba54f5
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ final class SupportPresenter extends OpenVKPresenter
|
|||
$agent->setNumerate((int) $this->postParam("number") ?? NULL);
|
||||
$agent->setIcon($this->postParam("avatar"));
|
||||
$agent->save();
|
||||
$this->flashFail("succ", tr("agent_profile_created"));
|
||||
$this->flashFail("succ", tr("agent_profile_edited"));
|
||||
} else {
|
||||
$agent = new SupportAgent;
|
||||
$agent->setAgent($this->user->identity->getId());
|
||||
|
|
Loading…
Reference in a new issue