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

Issue: Getting Agent/User Name #217

Merged
merged 2 commits into from
Feb 1, 2022

Conversation

aydreeihn
Copy link
Contributor

This PR fixes an issue in the Audit Plugin in a scenario that if we could not retrieve the staff or user during checks, the default else statement was $object->getUserId(). In the event that the object did not have that method, for example, when running the cron job, the $object is ConfigItem, it resulted in a fatal error.

Additionally, it adds a commit that fixes an issue we had with the audit plugin assuming that any time the config table is being updated, it is by a signed in Agent.

This commit fixes an issue in the Audit Plugin in a scenario that if we could not retrieve the staff or user during checks, the default else statement was $object->getUserId(). In the event that the object did not have that method, it resulted in a fatal error.
This commit fixes an issue we had with the audit plugin assuming that any time the config table is being updated, it is by a signed in Agent.
@aydreeihn aydreeihn changed the title Issue/audit get user Issue: Getting Agent/User Name Oct 29, 2021
@JediKev JediKev merged commit b2d668e into osTicket:develop Feb 1, 2022
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

Successfully merging this pull request may close these issues.

None yet

2 participants