From bd556244706839a2e955ac8d70d5c5b3a2e935fd Mon Sep 17 00:00:00 2001 From: Josh Bowden Date: Mon, 22 Apr 2019 13:47:14 +1000 Subject: [PATCH] fix typo with lang string --- application/controllers/Sales.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Sales.php b/application/controllers/Sales.php index 3568659be..9cf92614f 100644 --- a/application/controllers/Sales.php +++ b/application/controllers/Sales.php @@ -464,7 +464,7 @@ class Sales extends Secure_Controller $quantity = parse_decimals($this->input->post('quantity')); $discount = parse_decimals($this->input->post('discount')); $discount_type = $this->input->post('discount_type'); - + $item_location = $this->input->post('location'); $discounted_total = $this->input->post('discounted_total') != '' ? $this->input->post('discounted_total') : NULL; @@ -793,7 +793,7 @@ class Sales extends Secure_Controller { $to = $sale_data['customer_email']; $number = $sale_data[$type."_number"]; - $subject = $this->lang->line("sales_$type") . ' ' . $number; + $subject = $this->lang->line("sales" . $type) . ' ' . $number; $text = $this->config->item('invoice_email_message'); $tokens = array(new Token_invoice_sequence($sale_data['invoice_number']),