X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=taxes%2Ftax_types.php;h=4dfebf7fbfe7d9e4afe9d70f00c6b41ce40ff9bf;hb=d1b959c4b73664327c2e17d5bb3fb515aabfa449;hp=c76691830053dd31a44bf08aa1c9c30ef3ac1d4b;hpb=ebc600101ceab69c06eac4b1bd4d1782af45de05;p=fa-stable.git diff --git a/taxes/tax_types.php b/taxes/tax_types.php index c7669183..4dfebf7f 100644 --- a/taxes/tax_types.php +++ b/taxes/tax_types.php @@ -38,7 +38,7 @@ function can_process() return false; } - if (!is_tax_gl_unique(get_post('sales_gl_code', 'purchasing_gl_code', $selected_id))) { + if (!is_tax_gl_unique(get_post('sales_gl_code'), get_post('purchasing_gl_code'), $selected_id)) { display_error( _("Selected GL Accounts cannot be used by another tax type.")); set_focus('sales_gl_code'); return false;