Skip to content

Commit

Permalink
Merge branch 'mmenozzi-emtpy-block-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenix128 committed Oct 9, 2017
2 parents f5a5a22 + 4aecd37 commit afbb6f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Model/BlockProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct(
*/
public function wrapBlock($html, $blockId, $name)
{
if ($html) {
if (trim($html)) {
$html = '<!-- START_MSPDEV[' . $blockId . ']: ' . $name . ' -->' . $html
. '<!-- END_MSPDEV[' . $blockId . ']: ' . $name . ' -->';

Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="MSP_DevTools" setup_version="1.2.6">
<module name="MSP_DevTools" setup_version="1.2.7">
<sequence>
<module name="MSP_Common"/>

Expand Down

0 comments on commit afbb6f4

Please sign in to comment.