CC-2306: Uploading a file that already exist error message does not have styling
Tweaked message to the user.
This commit is contained in:
parent
965a649d0e
commit
48b08893f0
1 changed files with 11 additions and 11 deletions
|
@ -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."}}');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue