// Fixed #PSCFI-5259 #PSCFI-3869 on PS 1.5
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