We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4005bc3 commit b6bba37Copy full SHA for b6bba37
app/code/core/Mage/Page/Block/Html/Head.php
@@ -547,6 +547,9 @@ protected function _isFile($filename)
547
*/
548
protected function _sortItems($referenceName, $before, $type)
549
{
550
+ // Convert string values ("true"/"false") to bool
551
+ $before = filter_var($before, FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE);
552
+
553
$items = $this->_data['items'];
554
555
// get newly inserted item so we do not have to reproduce the functionality of the parent
0 commit comments