mirror of
https://github.com/openvk/openvk
synced 2025-07-07 08:19:49 +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->setNumerate((int) $this->postParam("number") ?? NULL);
|
||||||
$agent->setIcon($this->postParam("avatar"));
|
$agent->setIcon($this->postParam("avatar"));
|
||||||
$agent->save();
|
$agent->save();
|
||||||
$this->flashFail("succ", tr("agent_profile_created"));
|
$this->flashFail("succ", tr("agent_profile_edited"));
|
||||||
} else {
|
} else {
|
||||||
$agent = new SupportAgent;
|
$agent = new SupportAgent;
|
||||||
$agent->setAgent($this->user->identity->getId());
|
$agent->setAgent($this->user->identity->getId());
|
||||||
|
|
Loading…
Reference in a new issue