Skip to content

Commit

Permalink
Merge branch 'wip-MDL-62584-master' of git://github.com/marinaglancy/…
Browse files Browse the repository at this point in the history
…moodle
  • Loading branch information
David Monllao committed May 28, 2018
2 parents 00977e9 + 024ede2 commit c89b495
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webservice/xmlrpc/locallib.php
Expand Up @@ -133,8 +133,9 @@ protected function send_response() {
* @param Exception $ex
*/
protected function send_error($ex = null) {
$this->response = $this->generate_error($ex);
$this->send_headers();
echo $this->generate_error($ex);
echo $this->response;
}

/**
Expand Down

0 comments on commit c89b495

Please sign in to comment.