Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX: remove unnecessary write from uploading routine

  • Loading branch information...
commit 47d7392e88568b0e3d1a3ee29787b7faaef2c1c7 1 parent 5d7f6a0
Mateusz U mateusz authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  forms/UploadField.php
1  forms/UploadField.php
View
@@ -477,7 +477,6 @@ public function upload(SS_HTTPRequest $request) {
} else {
// The file has been uploaded successfully, attach it to the related record.
$file = $this->upload->getFile();
- $file->write();
$this->attachFile($file);
// Collect all output data.
Please sign in to comment.
Something went wrong with that request. Please try again.