MantisBT: master 4d108487

Author Committer Branch Timestamp Parent
dregad dregad master 2026-08-28 19:41 master a8e8b56a
Affected Issues  0032470: REST API: Project Category Add/Update/Delete
 0036812: PHP 8.4: Passing E_USER_ERROR to trigger_error() is deprecated
Changeset

category_validate_assigned_to() always throws

The function, introduced with the new Category commands (Issue 0032470,
commit 1358aa93108a4e5fa36079955161733f5ba3283d), was modified to always
throw a ClientException.

The $p_throw_exception parameter has become useless and was removed.

Fixes 0036812

mod - core/category_api.php Diff File
mod - core/commands/CategoryAddCommand.php Diff File
mod - core/commands/CategoryUpdateCommand.php Diff File