Skip to content

Commit 9393404

Browse files
committedApr 24, 2012
Fix #14188: SOAP API update function accesses undefined variable
1 parent e3a2dad commit 9393404

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
@@ -747,6 +747,7 @@ function mc_issue_update( $p_username, $p_password, $p_issue_id, $p_issue ) {
747747
if ( isset( $p_issue['category'] ) && !is_blank( $p_issue['category'] ) ) {
748748
return new soap_fault( 'Client', '', "Category field must be supplied." );
749749
} else {
750+
$t_project_name = project_get_name( $t_project_id );
750751
return new soap_fault( 'Client', '', "Category '" . $p_issue['category'] . "' not found for project '$t_project_name'." );
751752
}
752753
}

0 commit comments

Comments
 (0)
Please sign in to comment.