MantisBT: master-2.26 64eca96d

Author Committer Branch Timestamp Parent
dregad dregad master-2.26 2024-09-20 20:24 master-2.26 bcc7cab2
Affected Issues  0026672: mc_issue_add fails with "Object of class SoapFault could not be converted to int"
Changeset

Fix PHP warning in IssueAddCommand

When given an invalid Category, or an empty Category when
$g_allow_no_category = OFF, mci_get_category_id() returned a SoapFault
object instead of throwing a ClientException, resulting in a PHP Warning
"Object of class SoapFault could not be converted to int".

This affects mc_issue_add()

Fixes 0026672

mod - api/soap/mc_api.php Diff File