Browse Source

Fix Page\Profile

Visman 4 năm trước cách đây
mục cha
commit
adc67e1e24
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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->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' => []