From c9d806bd26925ca2e75e215c7320beddacf30705 Mon Sep 17 00:00:00 2001 From: FrancescoUK Date: Tue, 12 Jul 2016 16:59:23 +0100 Subject: [PATCH] Fixed mistake with Giftcard (#732) --- application/controllers/Sales.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/Sales.php b/application/controllers/Sales.php index f1eefc828..355aed2d2 100644 --- a/application/controllers/Sales.php +++ b/application/controllers/Sales.php @@ -209,7 +209,7 @@ class Sales extends Secure_Controller if(($cur_giftcard_value - $current_payments_with_giftcard) <= 0) { - $data['error'] = $this->lang->line('giftcards_remaining_balance', $giftcard_num, to_currency(cur_giftcard_value)); + $data['error'] = $this->lang->line('giftcards_remaining_balance', $giftcard_num, to_currency($cur_giftcard_value)); } else {