Skip to content

Commit

Permalink
Correct call of faultBadRequest
Browse files Browse the repository at this point in the history
Issue #22598
  • Loading branch information
atrol committed Mar 30, 2017
1 parent 7e1f955 commit 16f0fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/soap/mc_issue_api.php
Expand Up @@ -1000,7 +1000,7 @@ function mc_issue_update( $p_username, $p_password, $p_issue_id, stdClass $p_iss
}

if( is_blank( $t_description ) ) {
return ApiObjectFactory::faultBadRequest( 'Client', 'Mandatory field \'description\' is missing.' );
return ApiObjectFactory::faultBadRequest( 'Mandatory field \'description\' is missing.' );
}

# fields which we expect to always be set
Expand Down

0 comments on commit 16f0fa4

Please sign in to comment.