[-] BO : fix display bug when virtual file upload fails

This commit is contained in:
tDidierjean
2012-04-17 08:53:45 +00:00
parent 9c225269a4
commit 5caeffeb2e
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().'" />';
}