Ver Fonte

Update Admin\Forums page for html fields

Visman há 4 anos atrás
pai
commit
eef6516cb2
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Models/Pages/Admin/Forums.php

+ 1 - 1
app/Models/Pages/Admin/Forums.php

@@ -366,7 +366,7 @@ class Forums extends Admin
                 ->addRules([
                 ->addRules([
                     'token'                => 'token:' . $marker,
                     'token'                => 'token:' . $marker,
                     'forum_name'           => 'required|string:trim|max:80',
                     'forum_name'           => 'required|string:trim|max:80',
-                    'forum_desc'           => 'string:trim|max:65000 bytes',
+                    'forum_desc'           => 'string:trim|max:65000 bytes|html',
                     'parent'               => 'required|integer|in:' . implode(',', $this->listOfIndexes),
                     'parent'               => 'required|integer|in:' . implode(',', $this->listOfIndexes),
                     'sort_by'              => 'required|integer|in:0,1,2',
                     'sort_by'              => 'required|integer|in:0,1,2',
                     'redirect_url'         => 'string:trim|max:255', //????
                     'redirect_url'         => 'string:trim|max:255', //????