浏览代码

Fix Page\Profile

Visman 4 年之前
父节点
当前提交
adc67e1e24
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/Models/Pages/Profile/View.php

+ 2 - 2
app/Models/Pages/Profile/View.php

@@ -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' => []