// Fixed #PSCFI-5259 #PSCFI-3869 on PS 1.5
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14425 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -88,7 +88,7 @@ class GetFileControllerCore extends FrontController
|
||||
$this->displayCustomError('This file no longer exists.');
|
||||
|
||||
if (isset($info['product_quantity_refunded']) && isset($info['product_quantity_return']) &&
|
||||
($info['product_quantity_refunded'] > 0 || $info['product_quantity_return']))
|
||||
($info['product_quantity_refunded'] > 0 || $info['product_quantity_return'] > 0))
|
||||
$this->displayCustomError('This product has been refunded.');
|
||||
|
||||
$now = time();
|
||||
@@ -309,4 +309,4 @@ class GetFileControllerCore extends FrontController
|
||||
<?php
|
||||
exit();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user