summaryrefslogtreecommitdiff
path: root/modules/upload
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-11 11:33:15 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-11 11:33:15 +0000
commit70aae83c8ee2a44b2eb880214af50f8052e12bf7 (patch)
tree7ed206ab5d302d9699cd11e28b6a3bbbd0ac5fdb /modules/upload
parent4b87417062261795eb4a2ce5909c2dacc8ce4704 (diff)
downloadbrdo-70aae83c8ee2a44b2eb880214af50f8052e12bf7.tar.gz
brdo-70aae83c8ee2a44b2eb880214af50f8052e12bf7.tar.bz2
#58166, fixes for typos, patch by Uwe Herrmann
Diffstat (limited to 'modules/upload')
-rw-r--r--modules/upload/upload.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index d84fc2dec..5c7c36edf 100644
--- a/modules/upload/upload.module
+++ b/modules/upload/upload.module
@@ -257,7 +257,7 @@ function _upload_validate(&$node) {
if (is_array($node->files)) {
// Update existing files with form data.
foreach($node->files as $fid => $file) {
- // Convert file to object for compatability
+ // Convert file to object for compatibility
$file = (object)$file;
// Validate new uploads.
@@ -449,7 +449,7 @@ function upload_save($node) {
}
foreach ($node->files as $fid => $file) {
- // Convert file to object for compatability
+ // Convert file to object for compatibility
$file = (object)$file;
// Remove file. Process removals first since no further processing