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

Avoid potentially undefined var #26001

Merged
merged 1 commit into from
Apr 4, 2023
Merged

Conversation

demeritcowboy
Copy link
Contributor

Overview

Followup to #25647 (comment)

Before

While php doesn't complain, it seems better to make sure the variable is defined since it can be undefined at line 63. Some fancy IDEs might warn about it.

After

Technical Details

Comments

@civibot
Copy link

civibot bot commented Apr 4, 2023

(Standard links)

@civibot civibot bot added the master label Apr 4, 2023
@demeritcowboy demeritcowboy merged commit c8deb4a into civicrm:master Apr 4, 2023
@demeritcowboy demeritcowboy deleted the undef branch April 4, 2023 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants