Sfoglia il codice sorgente

Zend_Tool_Framework_Client_Response::setContent() - fixes appended content

Appended content was not decorated
Morith MY 12 anni fa
parent
commit
5c79999441
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      library/Zend/Tool/Framework/Client/Response.php

+ 1 - 1
library/Zend/Tool/Framework/Client/Response.php

@@ -77,7 +77,7 @@ class Zend_Tool_Framework_Client_Response
      */
     public function setContent($content, Array $decoratorOptions = array())
     {
-        $this->_applyDecorators($content, $decoratorOptions);
+        $content = $this->_applyDecorators($content, $decoratorOptions);
 
         $this->_content = array();
         $this->appendContent($content);