Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete salary structure does not work and returns errors in error log #8

Open
anandjs20 opened this issue Aug 5, 2024 · 0 comments

Comments

@anandjs20
Copy link

Tested in Php 8 and 7.4. Frontaccounting 2.4.18.
When deleting salary structure, error log shows errors. Salary structure is not deleting.
Salary_Structure.php line 89 defines 2 inputs delete_salary_structure($selected_id, get_post('_tabs_sel'));
But line 102 is delete_salary_structure($selected_id);

Error in error log is:
salary_structure_db.inc:88: Unhandled exception [0]: Too few arguments to function delete_salary_structure(), 1 passed in /home/example.com/public_html/frontaccounting/modules/FrontHrm/manage/salary_structure.php on line 102 and exactly 2 expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant