[-] BO : fix display bug when virtual file upload fails
This commit is contained in:
1 parent
575db90c7a
commit
c32d62f7a0
2 files changed
+13
-4
No files matched your search
@@ -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