From: Joe Hunt Date: Wed, 30 Sep 2009 16:03:59 +0000 (+0000) Subject: Parse error in view_supp_payment.php X-Git-Tag: v2.4.2~19^2~1180 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=d542ce4a94415648f7993f219963d683c372210a;p=fa-stable.git Parse error in view_supp_payment.php --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 452096a6..71167cd0 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -31,6 +31,8 @@ $ /includes/prefs/userprefs.inc $ /admin/fiscalyears.php /purchasing/supplier_payment.php /sales/customer_payments.php +# Parse error in view_supp_payment.php +$ /purchasing/view/view_supp_payment.php 30-Sep-2009 Janusz Dobrowolski ! Single quotes also encoded before database data insert diff --git a/purchasing/view/view_supp_payment.php b/purchasing/view/view_supp_payment.php index 52be7141..554b3445 100644 --- a/purchasing/view/view_supp_payment.php +++ b/purchasing/view/view_supp_payment.php @@ -58,7 +58,7 @@ start_row(); if ($show_currencies) label_cells(_("Payment Currency"), $receipt['bank_curr_code'], "class='tableheader2'"); label_cells(_("Amount"), number_format2(-$receipt['BankAmount'], user_price_dec()), "class='tableheader2'"); -label_cells(_("Payment Type"), $bank_transfer_typea[$receipt['BankTransType']], "class='tableheader2'"); +label_cells(_("Payment Type"), $bank_transfer_types[$receipt['BankTransType']], "class='tableheader2'"); end_row(); start_row(); if ($show_currencies)