Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'wip-MDL-62584-34' of git://github.com/marinaglancy/mood…
…le into MOODLE_34_STABLE
  • Loading branch information
David Monllao committed May 28, 2018
2 parents 2bb95d9 + d5897a6 commit 85b0aa8
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 85b0aa8

Please sign in to comment.