[-] 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:
tDidierjean
2012-04-17 08:53:45 +00:00
parent 099c6a7080
commit 08921ed277
2 changed files with 13 additions and 4 deletions
+1 -1
View File
@@ -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().'" />';
}