CC-2306: Uploading a file that already exist error message does not have styling

Tweaked message to the user.
This commit is contained in:
Paul Baranowski 2011-09-22 15:31:21 -04:00
parent 965a649d0e
commit 48b08893f0

View file

@ -834,7 +834,7 @@ class Application_Model_StoredFile {
}
if (file_exists($duplicate->getFilePath())) {
$duplicateName = $duplicate->getMetadataValue('MDATA_KEY_TITLE');
die('{"jsonrpc" : "2.0", "error" : {"code": 101, "message": "An identical audioclip named ' . $duplicateName . ' already exists in the storage server."}}');
die('{"jsonrpc" : "2.0", "error" : {"code": 101, "message": "An identical audioclip named \"' . $duplicateName . '\" already exists on the server."}}');
}
}