diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-25 12:39:31 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-09-25 12:39:31 +0000 |
commit | 8929612d29f84eedb29e1f7c11aaa80155499244 (patch) | |
tree | 6260219408ad2913e0c7f580b2b547f9c57ea528 /includes/file.inc | |
parent | de1c51958c903f66cd2f667e4b2a5a5749570dad (diff) | |
download | brdo-8929612d29f84eedb29e1f7c11aaa80155499244.tar.gz brdo-8929612d29f84eedb29e1f7c11aaa80155499244.tar.bz2 |
#159474 by chx: destination file name should be used in help text, not source file name, which is not available even
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 c0fe727e1..5c8d28e04 100644 --- a/includes/file.inc +++ b/includes/file.inc @@ -302,7 +302,7 @@ function file_destination($destination, $replace) { break; case FILE_EXISTS_ERROR: - drupal_set_message(t('The selected file %file could not be copied, because a file by that name already exists in the destination.', array('%file' => $source)), 'error'); + drupal_set_message(t('The selected file %file could not be copied, because a file by that name already exists in the destination.', array('%file' => $destination)), 'error'); return FALSE; } } |