Commit 03b9c8b5 authored by Christian Münch's avatar Christian Münch

Update app/code/community/EcomDev/PHPUnit/Model/Layout.php

Replaced "empty".
parent d6a068fe
...@@ -321,7 +321,7 @@ class EcomDev_PHPUnit_Model_Layout ...@@ -321,7 +321,7 @@ class EcomDev_PHPUnit_Model_Layout
{ {
$this->_collectedBlock = null; $this->_collectedBlock = null;
parent::_generateBlock($node, $parent); parent::_generateBlock($node, $parent);
if (!empty($this->_collectedBlock)) { if ($this->_collectedBlock) {
$target = $this->_collectedBlock->getNameInLayout(); $target = $this->_collectedBlock->getNameInLayout();
$params = array(); $params = array();
if (isset($node['as'])) { 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