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 6049d83

Browse files
committedJan 23, 2012
Fix #13789 : Invalid usage of function mci_soap_fault_access_denied
1 parent 44ea31f commit 6049d83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎api/soap/mc_issue_api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1143,7 +1143,7 @@ function mc_issue_relationship_add( $p_username, $p_password, $p_issue_id, $p_re
11431143

11441144
# bug is not read-only...
11451145
if( bug_is_readonly( $p_issue_id ) ) {
1146-
return new mci_soap_fault_access_denied( $t_user_id, "Issue '$p_issue_id' is readonly" );
1146+
return mci_soap_fault_access_denied( $t_user_id, "Issue '$p_issue_id' is readonly" );
11471147
}
11481148

11491149
# user can access to the related bug at least as viewer...

0 commit comments

Comments
 (0)
Please sign in to comment.