Bug. $n undefined in /admin/gl_setup.php
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 31 Dec 2010 11:45:34 +0000 (11:45 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 31 Dec 2010 11:45:34 +0000 (11:45 +0000)
admin/gl_setup.php

index 1a17092dfeb9cc67d17dc3ce9ae414b9b9f3d705..79b84ddf49f44af17e675c6d7e8753f837fde3dd 100644 (file)
@@ -49,7 +49,7 @@ function can_process()
        $grn_act = get_company_pref('grn_clearing_act');
        if (get_post('grn_clearing_act') != $grn_act && db_num_rows(get_grn_items(0, '', true)))
        {
-               display_error(_("Before GRN Clearing Account can be changed all GRNs have to be invoiced").' '.$n);
+               display_error(_("Before GRN Clearing Account can be changed all GRNs have to be invoiced"));
                $_POST['grn_clearing_act'] = $grn_act;
                set_focus('grn_clearing_account');
                return false;