From fc339abb476d569617fa0ae5b09dbeca0ac7b8bd Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 1 May 2008 14:46:20 +0000 Subject: Marcus Povey * Save to get the GUID git-svn-id: https://code.elgg.org/elgg/trunk@597 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/actions/upload.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod') 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']); -- cgit v1.2.3