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

Fix call to log method warn (should be warning) #22602

Merged
merged 1 commit into from
Jan 22, 2022

Conversation

braders
Copy link
Contributor

@braders braders commented Jan 22, 2022

Overview

Civi::log() has no method warn, but there is a method warning. Update the code so it wouldn't crash if ran.

Note that I'm not sure exactly how this exception is reached, but its fairly clear what the intended purpose of the code is and so I consider this a safe change regardless.

@civibot
Copy link

civibot bot commented Jan 22, 2022

(Standard links)

@civibot civibot bot added the master label Jan 22, 2022
@colemanw colemanw merged commit 53eaf61 into civicrm:master Jan 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants