Skip to content
Snippets Groups Projects
Commit 8929612d authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#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
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment