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

APIv4 - Fix passing '0' as a function argument #26553

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

colemanw
Copy link
Member

Overview

Fixes an edge-case bug in APIv4

Before

"CRM_Core_Exception : Too few arguments to param 3 for SQL function IF"

After

Function works with '0' as an argument.

Before: "CRM_Core_Exception : Too few arguments to param 3 for SQL function IF"

After: Function works with '0' as an argument.
@civibot
Copy link

civibot bot commented Jun 17, 2023

(Standard links)

@aydun
Copy link
Contributor

aydun commented Jun 19, 2023

Code makes sense, and tests are passing.

@aydun aydun merged commit e237197 into civicrm:master Jun 19, 2023
@colemanw colemanw deleted the sqlFunctionFix branch June 21, 2023 16:50
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