The error message displayed when Dropbox returns an error is not properly set. The sentence "Failed to upload the file. Dropbox returned the following error: !dropbox-error" is displayed, without Dropbox's message.
Line 300 in dropbox.module:
form_set_error('upload', t('Failed to upload the file. Dropbox returned the following error: !dropbox-error', array('!dropbox-error', $error)));
Should be:
form_set_error('upload', t('Failed to upload the file. Dropbox returned the following error: !dropbox-error', array('!dropbox-error' => $error)));
Comments
Comment #1
deviantintegral commentedThanks. Here's a patch which I'll be committing shortly.
Comment #2
deviantintegral commented