From aa31e870c033c7868bd5e9708d2e32bc38e83244 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Sun, 17 Feb 2008 20:01:49 +0000
Subject: [PATCH] - Patch #218915 by keith and jakeg: fixed typo in watchdog()
 call.

---
 includes/file.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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