X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fmanage%2Fgl_quick_entries.php;h=c149c70b67ef447cb27ef868e8e23833f2e57a4f;hb=61fb69cf679671e44d7aaa10fab553c059e6f62e;hp=6bd142f6b1c3ef35c8594891071c2a0eb24adf4b;hpb=f9ba78ac0c0cde7f58530c3aef2fd372db375753;p=fa-stable.git diff --git a/gl/manage/gl_quick_entries.php b/gl/manage/gl_quick_entries.php index 6bd142f6..c149c70b 100644 --- a/gl/manage/gl_quick_entries.php +++ b/gl/manage/gl_quick_entries.php @@ -102,13 +102,13 @@ if ($Mode=='ADD_ITEM' || $Mode=='UPDATE_ITEM') if ($selected_id != -1) { update_quick_entry($selected_id, $_POST['description'], $_POST['type'], - input_num('base_amount'), $_POST['base_desc'], get_post('bal_type')); + input_num('base_amount'), $_POST['base_desc'], get_post('bal_type', 0)); display_notification(_('Selected quick entry has been updated')); } else { add_quick_entry($_POST['description'], $_POST['type'], - input_num('base_amount'), $_POST['base_desc'], get_post('bal_type')); + input_num('base_amount'), $_POST['base_desc'], get_post('bal_type', 0)); display_notification(_('New quick entry has been added')); } $Mode = 'RESET';