Replaced the ajax paging in stock movements with the old file.
[fa-stable.git] / includes / ui / ui_view.inc
index d57724f1211e9b5d29e098310c585e163fd57da6..643ea4493af75b2cc6040fad5267f3a2132e28d8 100644 (file)
@@ -597,7 +597,7 @@ function display_quick_entries(&$cart, $id, $totamount, $payment=true, $supp_tra
                                                        $cart->add_gl_item($code, 0, 0, $amount, $qe['description']);
                                                else
                                                {
-                                                       $acc_name = get_gl_account_name($qe_line['account']);
+                                                       $acc_name = get_gl_account_name($code);
                                                        $cart->add_gl_codes_to_trans($code, $acc_name, 0, 0, $amount, $qe['description']);
                                                }
                                        }