We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit cfe7c7f5 authored by Ivan Chepurnyi's avatar Ivan Chepurnyi

Merge pull request #45 from cmuench/master

Fixed fatal error if "false" as block was given.
parents 15d232af 03b9c8b5
......@@ -321,7 +321,7 @@ class EcomDev_PHPUnit_Model_Layout
{
$this->_collectedBlock = null;
parent::_generateBlock($node, $parent);
if ($this->_collectedBlock !== null) {
if ($this->_collectedBlock) {
$target = $this->_collectedBlock->getNameInLayout();
$params = array();
if (isset($node['as'])) {
......
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