]> source.dussan.org Git - nextcloud-server.git/commitdiff
Merge pull request #15679 from owncloud/fix-private-member-access
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 17 Apr 2015 07:13:54 +0000 (09:13 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Fri, 17 Apr 2015 07:13:54 +0000 (09:13 +0200)
Fix private member access of parent class in ocsresponse

1  2 
lib/public/appframework/http/ocsresponse.php

index c098e306656794cb1566bb7a645e99553e535154,9ab582e8ae0cfaddbaa8b996a9080ef72509ef56..52d3c2fa665c3250733e08a87269af3631b94b97
@@@ -88,13 -86,10 +88,13 @@@ class OCSResponse extends Response 
                }
        }
  
 -
 +      /**
 +       * @return string
 +       * @since 8.1.0
 +       */
        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
                );