Fix Page\Profile

This commit is contained in:
Visman 2021-02-13 21:00:19 +07:00
parent 7101264a3b
commit adc67e1e24

View file

@ -32,7 +32,7 @@ class View extends Profile
$this->c->Online->calc($this); // для $this->curUser->lastVisit
$this->form = $this->form();
$this->form = $this->form($args);
$this->actionBtns = $this->btns('view');
return $this;
@ -41,7 +41,7 @@ class View extends Profile
/**
* Создает массив данных для формы
*/
protected function form(): array
protected function form(array $args): array
{
$form = [
'sets' => []