diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/file/actions/upload.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/file/actions/upload.php b/mod/file/actions/upload.php index 05b0150f6..18a6c388a 100644 --- a/mod/file/actions/upload.php +++ b/mod/file/actions/upload.php @@ -18,6 +18,7 @@ // Extract file from, save to default filestore (for now) $prefix = "/file/"; $file = new ElggFile(); + $file->save(); $file->setFilename($_FILES['upload']['name']); $file->setMimeType($_FILES['upload']['type']); |