Magento Core: (FIX) Infinite HTML escape for attribute option values and labels

Send Snippet To: Save this snippet to Code Collector Pro -- view all tamburra's snippets
language: Other
license: Other

Code for Snippet:

                
---------------
Open:
---------------
 
/app/code/core/Mage/Adminhtml/controllers/Catalog/Product/AttributeController.php
 
 
---------------
Find & Remove:
---------------
 
            //options
            if (!empty($data['option']['value'])) {
                foreach ($data['option']['value'] as &$options) {
                    foreach ($options as &$label) {
                        $label = $helperCatalog->escapeHtml($label);
                    }
                }
            }
comments powered by Disqus

Info

Tags: Fix Core CE 1.6

Link to this snippet:


Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 933
Date Added: 2012-01-22 23:54:04
Last Modified: 0000-00-00 00:00:00

Web Analytics