Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Empty user list when "Hide inactive" option is checked
The refactoring of db_helper_compare_days() function in commit 0a33bdf introduced usage of a new query parameter; the parameters list is not built in the order expected by the generated SQL query, causing the boolean value for "enabled" to be used as a date, and the given timestamp is compared with "enabled" flag. The SQL now applies the "disabled condition" where clause before the date filter, so the order of parameters matches. Also removed useless db_now() parameter assignment at line 249, the target date parameter has already been added at line 219. Fixes #19797
- Loading branch information