MantisBT: master-2.26 9e7617de

Author Committer Branch Timestamp Parent
dregad dregad master-2.26 2024-03-24 11:29 master-2.26 1cd25800
Affected Issues  0034348: Adding issue note with REST API returns HTTP 500 when given view_state is invalid
Changeset

Fix invalid view_state handling when adding bugnote

Remove array type on $p_view_state parameter which was causing a PHP
TypeError when REST API client was providing an unexpected value.

Throw a ClientException if $p_view_state is not an array.

Fixes 0034348

mod - core/helper_api.php Diff File