Merged in cmdeguzman/cdgz-processmaker/HOR-282-3018 (pull request #3783)

HOR-282
This commit is contained in:
David Callizaya
2016-03-09 17:52:49 -04:00
16 changed files with 76 additions and 177 deletions

View File

@@ -31,7 +31,7 @@ class ProcessSupervisors extends Api
return (preg_match("/^.*\/paged.*$/", $this->restler->url))? $response : $response["data"];
} catch (\Exception $e) {
throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
throw new RestException(Api::STAT_APP_EXCEPTION, htmlspecialchars($e->getMessage()));
}
}