Skip to content

Commit 206d1ae

Browse files
authored
Merge pull request #8537 from kenjis/docs-uploaded_files-validate
docs: use validateData() instead of validate() in uploaded_files
2 parents 286f1c4 + b7ef20e commit 206d1ae

File tree

1 file changed

+1
-1
lines changed
  • user_guide_src/source/libraries/uploaded_files

1 file changed

+1
-1
lines changed

user_guide_src/source/libraries/uploaded_files/002.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function upload()
2727
],
2828
],
2929
];
30-
if (! $this->validate($validationRule)) {
30+
if (! $this->validateData([], $validationRule)) {
3131
$data = ['errors' => $this->validator->getErrors()];
3232

3333
return view('upload_form', $data);

0 commit comments

Comments
 (0)