From e2907117f0d97742d23331ba98903379041317a2 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14425 b9a71923-0436-4b27-9f14-aed3839534dd --- 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