Merge pull request #15679 from owncloud/fix-private-member-access

Fix private member access of parent class in ocsresponse
This commit is contained in:
Thomas Müller 2015-04-17 09:13:54 +02:00
commit f32d97750c
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ class OCSResponse extends Response {
$dimension=-1, $itemscount='',
$itemsperpage='') {
$this->format = $format;
$this->status = $status;
$this->setStatus($status);
$this->statuscode = $statuscode;
$this->message = $message;
$this->data = $data;
@ -94,7 +94,7 @@ class OCSResponse extends Response {
*/
public function render() {
return OC_OCS::generateXml(
$this->format, $this->status, $this->statuscode, $this->message,
$this->format, $this->getStatus(), $this->statuscode, $this->message,
$this->data, $this->tag, $this->tagattribute, $this->dimension,
$this->itemscount, $this->itemsperpage
);