Allow editing account when editing a row in GL Bank and GL Journal Entry
[fa-stable.git] / gl / gl_journal.php
index 10cde058c7b76dd714ceeb38c54d41e081e5405d..d515b179b8825c7d7f1ae9478d38a7092ac67312 100644 (file)
@@ -264,8 +264,8 @@ function handle_update_item()
        else
                $amount = -input_num('AmountCredit');
 
-       $_SESSION['journal_items']->update_gl_item($_POST['Index'], $_POST['dimension_id'],
-               $_POST['dimension2_id'], $amount, $_POST['LineMemo']);
+       $_SESSION['journal_items']->update_gl_item($_POST['Index'], $_POST['code_id'], 
+           $_POST['dimension_id'], $_POST['dimension2_id'], $amount, $_POST['LineMemo']);
     }
        line_start_focus();
 }