Skip to content

Commit

Permalink
Fixed deprecated functionality str_contains() in Design/Package.php (#…
Browse files Browse the repository at this point in the history
…3516)

Co-authored-by: Ng Kiat Siong <kiatsiong.ng@gmail.com>
Co-authored-by: Christoph Massmann
  • Loading branch information
fballiano and kiatng authored Sep 15, 2023
1 parent 9508c49 commit e19862b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/code/core/Mage/Core/Block/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ class Mage_Core_Block_Template extends Mage_Core_Block_Abstract
/**
* Path to template file in theme.
*
* @var string|null
* @var string
*/
protected $_template;
protected $_template = '';

/**
* Internal constructor, that is called from real constructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function _prepareLayout()
protected function _toHtml()
{
if (!$this->_profile) {
$this->_template = null;
$this->_template = '';
}
return parent::_toHtml();
}
Expand Down

0 comments on commit e19862b

Please sign in to comment.