From 8929612d29f84eedb29e1f7c11aaa80155499244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Tue, 25 Sep 2007 12:39:31 +0000 Subject: #159474 by chx: destination file name should be used in help text, not source file name, which is not available even --- includes/file.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes') 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; } } -- cgit v1.2.3