Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix deletion of default category on MSSQL/Oracle
$f_category_id is of type int, but the config table's config_id column is defined as VARCHAR(64). This causes a type mismatch on some RDBMS: - Oracle (ORA-00932: inconsistent data types: expected -, found CLOB) - MSSQL Problem resolved by casting the variable to string when passing it to db_query(). Fixes #16384
- Loading branch information