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

Safer setting check #1205

Merged
merged 1 commit into from
Dec 5, 2023
Merged

Conversation

ferrisoxide
Copy link
Contributor

@ferrisoxide ferrisoxide commented Dec 5, 2023

Fix for case when setting is nil (raises NoMethodError: undefined method `value' for nil:NilClass). Replaces "double negative" check with safe operator check.

replace not nil check on nil value

replace not nil check on nil value

replace not nil check on nil value
@CloCkWeRX CloCkWeRX merged commit 65aa303 into fatfreecrm:master Dec 5, 2023
8 checks passed
@ferrisoxide ferrisoxide deleted the fix_setting_check branch December 5, 2023 10:52
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.

2 participants