]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
fixed embarrassing spelling mistake.
authorRussell McLoughlin <mcloughlin3@llnl.gov>
Thu, 2 Jun 2011 22:54:16 +0000 (15:54 -0700)
committerRussell McLoughlin <mcloughlin3@llnl.gov>
Thu, 2 Jun 2011 22:54:16 +0000 (15:54 -0700)
mod/file/actions/file/upload.php

index 9581698be6bb340dc911cc00507fb0f57cc3b3df..518d59891ad8d804a9ea468860aeaf964f2d145c 100644 (file)
@@ -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());