Skip to content

Commit

Permalink
Deprecated Functionality: implode(): Passing glue string after array …
Browse files Browse the repository at this point in the history
…is deprecated
  • Loading branch information
Overdose committed Dec 3, 2020
1 parent b0ac80d commit 31820e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/adminhtml/templates/info/laybuy.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<tr>
<td></td>
<td><?php echo $block->escapeHtml($_subKey)?>:</td>
<td><?php echo nl2br(implode($block->getValueAsArray($_subValue, true), "\n"))?></td>
<td><?php echo nl2br(implode("\n", $block->getValueAsArray($_subValue, true)))?></td>
</tr>
<?php endforeach; ?>

<?php else: ?>
<tr>
<td><?php echo $block->escapeHtml($_label)?>:</td>
<td colspan="2"><?php echo nl2br(implode($block->getValueAsArray($_value, true), "\n"))?></td>
<td colspan="2"><?php echo nl2br(implode("\n", $block->getValueAsArray($_value, true)))?></td>
</tr>
<?php endif;?>
<?php endforeach; ?>
Expand Down

0 comments on commit 31820e3

Please sign in to comment.