diff --git a/includes/file.inc b/includes/file.inc index 907a7200ad4d8f2569241120f571cb05c2d4dddd..5f1b6ae1a996be6406aec763284f1a61eff1a2f2 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; }