Skip to content

Commit

Permalink
Merge branch 'null_deprecation_accountcontroller' of https://github.c…
Browse files Browse the repository at this point in the history
…om/kiatng/magento-lts into null_deprecation_accountcontroller

# Conflicts:
#	app/code/core/Mage/Customer/controllers/AccountController.php
  • Loading branch information
kiatng committed Aug 26, 2024
2 parents 0f73b51 + a777175 commit e059e16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/code/core/Mage/Page/Block/Html/Head.php
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,9 @@ protected function _isFile($filename)
*/
protected function _sortItems($referenceName, $before, $type)
{
// Convert string values ("true"/"false") to bool
$before = filter_var($before, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE);

$items = $this->_data['items'];

// get newly inserted item so we do not have to reproduce the functionality of the parent
Expand Down

0 comments on commit e059e16

Please sign in to comment.