diff options
author | David Rothstein <drothstein@gmail.com> | 2013-01-07 22:14:37 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-01-07 22:14:37 -0500 |
commit | 286deb81ecc1569a08ab25c13762dda7a24ce9f7 (patch) | |
tree | b7eec6970ef0334a1079cd394d734b8a93f1880b /includes/file.inc | |
parent | 2ca4228c88da9afe60d6c4c6a92dc4d4a4a8354a (diff) | |
download | brdo-286deb81ecc1569a08ab25c13762dda7a24ce9f7.tar.gz brdo-286deb81ecc1569a08ab25c13762dda7a24ce9f7.tar.bz2 |
Issue #1815930 by slashrsm, gbrands, amontero: Fixed Update watchdog message in file_unmanaged_copy() with correct string/variable replacement values.
Diffstat (limited to 'includes/file.inc')
-rw-r--r-- | includes/file.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc index c65d6e97c..09a442435 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -892,7 +892,7 @@ function file_unmanaged_copy($source, $destination = NULL, $replace = FILE_EXIST $destination = file_destination($destination, $replace); if ($destination === FALSE) { drupal_set_message(t('The file %file could not be copied because a file by that name already exists in the destination directory.', array('%file' => $original_source)), 'error'); - watchdog('file', 'File %file could not be copied because a file by that name already exists in the destination directory (%directory)', array('%file' => $original_source, '%destination' => $destination)); + watchdog('file', 'File %file could not be copied because a file by that name already exists in the destination directory (%directory)', array('%file' => $original_source, '%directory' => $destination)); return FALSE; } |