summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2008-02-17 20:01:49 +0000
committerDries Buytaert <dries@buytaert.net>2008-02-17 20:01:49 +0000
commitaa31e870c033c7868bd5e9708d2e32bc38e83244 (patch)
tree0d65a03d8fef96b52568dc87e9c4e6b9251890bb /includes
parentef736430e5c16b9370227ee9958ece36953062af (diff)
downloadbrdo-aa31e870c033c7868bd5e9708d2e32bc38e83244.tar.gz
brdo-aa31e870c033c7868bd5e9708d2e32bc38e83244.tar.bz2
- Patch #218915 by keith and jakeg: fixed typo in watchdog() call.
Diffstat (limited to 'includes')
-rw-r--r--includes/file.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc
index 907a7200a..5f1b6ae1a 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -571,7 +571,7 @@ function file_save_upload($source, $validators = array(), $dest = FALSE, $replac
$file->filepath = $file->destination;
if (!move_uploaded_file($_FILES['files']['tmp_name'][$source], $file->filepath)) {
form_set_error($source, t('File upload error. Could not move uploaded file.'));
- watchdog('file', 'Upload error. Could not move uploaded file %file to destination %destination.', array('%file' => $file->filename, '%destination', $file->filepath));
+ watchdog('file', 'Upload error. Could not move uploaded file %file to destination %destination.', array('%file' => $file->filename, '%destination' => $file->filepath));
return 0;
}