Commit a8813339 by Jordi Boggiano

Merge pull request #13 from darh/master

Fix for reading unassigned _filter from Zend_View_Abstract
parents 33a73438 a132f798
...@@ -295,6 +295,10 @@ class Dwoo_Adapters_ZendFramework_View extends Zend_View_Abstract ...@@ -295,6 +295,10 @@ class Dwoo_Adapters_ZendFramework_View extends Zend_View_Abstract
{ {
if (null === $this->_dataProvider) { if (null === $this->_dataProvider) {
$this->_dataProvider = new Dwoo_Data; $this->_dataProvider = new Dwoo_Data;
// Satisfy Zend_View_Abstract wishes to access this unexisting property
// by setting it to empty array (see Zend_View_Abstract::_filter)
$this->_dataProvider->_filter = array();
} }
return $this->_dataProvider; return $this->_dataProvider;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment