Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX #32376: lettering: fix ifsql() called with invalid $check parameter
The $check is supposed to be a check retuning a boolean. By being an `if (value)` check instead of being an `if (value IS NOT NULL)` check, postgresql complains the types are not correct: Error ERROR: 42804: argument of CASE/WHEN must be type boolean, not type integer LINE 1: ...k, tl2.fk_doc FROM ( SELECT DISTINCT (CASE WHEN tll.fk_fac... ^ LOCATION: coerce_to_boolean, parse_coerce.c:1176 Regression from commit cfc162a.
- Loading branch information