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 for new prefetch key #21292

Merged
merged 1 commit into from
Aug 28, 2021
Merged

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Fixes a bug in
#21184
which was masked in the test by the lack of campaigns to load.

Before

Options still loaded when 'prefetch' is set to FALSE

After

Options not loaded

Technical Details

The ?? operator handles FALSE differently to the ?: operator
so this was casting FALSE to TRUE

Comments

@colemanw

@civibot
Copy link

civibot bot commented Aug 28, 2021

(Standard links)

@colemanw
Copy link
Member

Retest this please

Fixes a bug in
civicrm#21184
which was masked in the test by the lack of campaigns to load.

The ?? operator handles FALSE differently to the ?: operator
so this was casting FALSE to TRUE
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