From 8cf2c2362131d2602e8805e6e05a1f8141e02ebe Mon Sep 17 00:00:00 2001 From: bMancone Date: Tue, 3 Apr 2012 13:43:17 +0000 Subject: [PATCH] // Fixed #PSCFI-5259 #PSCFI-3869 on PS 1.5 --- controllers/front/GetFileController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/front/GetFileController.php b/controllers/front/GetFileController.php index e8e1ba2cf..590aadc99 100644 --- a/controllers/front/GetFileController.php +++ b/controllers/front/GetFileController.php @@ -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