From 1d30efdd73a2f2c94ecb0bdd460d0aa72a09923d Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 16 Apr 2015 16:54:01 +0200 Subject: [PATCH] Fix private member access of parent class in ocsresponse * noticed while checking PHPDoc --- lib/public/appframework/http/ocsresponse.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/public/appframework/http/ocsresponse.php b/lib/public/appframework/http/ocsresponse.php index 4cc1ba80d0..9ab582e8ae 100644 --- a/lib/public/appframework/http/ocsresponse.php +++ b/lib/public/appframework/http/ocsresponse.php @@ -64,7 +64,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; @@ -89,7 +89,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 );