aboutsummaryrefslogtreecommitdiff
path: root/mod/file/actions/file/upload.php
diff options
context:
space:
mode:
authorRussell McLoughlin <mcloughlin3@llnl.gov>2011-06-02 15:54:16 -0700
committerRussell McLoughlin <mcloughlin3@llnl.gov>2011-06-02 15:54:16 -0700
commitd9485cb8e8982c668d7aa374f80ad2fa4c93753d (patch)
treef314cf9f1e997c47c1a4a702d7a9e05854c2d27e /mod/file/actions/file/upload.php
parent5ce0b61f361809949f88fcd6566eebc3abb2c8df (diff)
downloadelgg-d9485cb8e8982c668d7aa374f80ad2fa4c93753d.tar.gz
elgg-d9485cb8e8982c668d7aa374f80ad2fa4c93753d.tar.bz2
fixed embarrassing spelling mistake.
Diffstat (limited to 'mod/file/actions/file/upload.php')
-rw-r--r--mod/file/actions/file/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/actions/file/upload.php b/mod/file/actions/file/upload.php
index 9581698be..518d59891 100644
--- a/mod/file/actions/file/upload.php
+++ b/mod/file/actions/file/upload.php
@@ -106,7 +106,7 @@ if (isset($_FILES['upload']['name']) && !empty($_FILES['upload']['name'])) {
$file->originalfilename = $_FILES['upload']['name'];
$file->simpletype = file_get_simple_type($_FILES['upload']['type']);
- // Open the file to guarentee the directory exists
+ // Open the file to guarantee the directory exists
$file->open("write");
$file->close();
move_uploaded_file($_FILES['upload']['tmp_name'], $file->getFilenameOnFilestore());