Skip to content

Commit

Permalink
Merge pull request #26333 from lemniscus/api3-sql-function-if-descrip…
Browse files Browse the repository at this point in the history
…tion

[NFC] SearchKit sql function "if": fix description (dev/core#4307)
  • Loading branch information
colemanw authored May 25, 2023
2 parents 6c6c016 + 16bc299 commit 4146f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Civi/Api4/Query/SqlFunctionIF.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static function getTitle(): string {
* @return string
*/
public static function getDescription(): string {
return ts('If the field is empty, the first value, otherwise the second.');
return ts('If the field is boolean TRUE, or any number except 0, or a string starting with the digits 1-9, the first value; otherwise the second.');
}

}

0 comments on commit 4146f7d

Please sign in to comment.