Commit 8929612d authored by Gábor Hojtsy's avatar Gábor Hojtsy

#159474 by chx: destination file name should be used in help text, not source...

#159474 by chx: destination file name should be used in help text, not source file name, which is not available even
parent de1c5195
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment