[-] BO : fix display bug when virtual file upload fails
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14671 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -53,5 +53,5 @@ if (isset($_FILES['virtual_product_file']) AND is_uploaded_file($_FILES['virtual
|
||||
else
|
||||
{
|
||||
header('HTTP/1.1 500 Error');
|
||||
echo '<return result="error" msg="Unknown error" filename="'.ProductDownload::getNewFilename().'" />';
|
||||
echo '<return result="error" msg="Could not upload file" filename="'.ProductDownload::getNewFilename().'" />';
|
||||
}
|
||||
Reference in New Issue
Block a user