Skip to content

Commit 85b0aa8

Browse files
author
David Monllao
committed
Merge branch 'wip-MDL-62584-34' of git://github.com/marinaglancy/moodle into MOODLE_34_STABLE
2 parents 2bb95d9 + d5897a6 commit 85b0aa8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

webservice/xmlrpc/locallib.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,9 @@ protected function send_response() {
133133
* @param Exception $ex
134134
*/
135135
protected function send_error($ex = null) {
136+
$this->response = $this->generate_error($ex);
136137
$this->send_headers();
137-
echo $this->generate_error($ex);
138+
echo $this->response;
138139
}
139140

140141
/**

0 commit comments

Comments
 (0)