Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1eaaeff

Browse files
committedApr 24, 2012
Fix #14188: SOAP update function accesses undefined variable in error handling
1 parent 7cedca2 commit 1eaaeff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎api/soap/mc_issue_api.php

+1
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ function mc_issue_update( $p_username, $p_password, $p_issue_id, $p_issue ) {
748748
if ( isset( $p_issue['category'] ) && !is_blank( $p_issue['category'] ) ) {
749749
return new soap_fault( 'Client', '', "Category field must be supplied." );
750750
} else {
751+
$t_project_name = project_get_name( $t_project_id );
751752
return new soap_fault( 'Client', '', "Category '" . $p_issue['category'] . "' not found for project '$t_project_name'." );
752753
}
753754
}

0 commit comments

Comments
 (0)
Please sign in to comment.