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