Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'wip-MDL-62584-35' of git://github.com/marinaglancy/mood…
…le into MOODLE_35_STABLE
  • Loading branch information
David Monllao committed May 28, 2018
2 parents 5d8821a + f479887 commit 0b363e6
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 0b363e6

Please sign in to comment.