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