I need to modify 1 line of code in:
Mage/Catalog/Search/Block/Autocomplete.php $html .= '<li title="'.$this->escapeHtml($item['title']).'" class="'.$item['row_class'].'">' . '<span class="amount">'.$item['num_of_results'].'</span>'.$this->escapeHtml($item['title']).'</li>';
What would be the best approach to do this? Do I need to override the whole controller(Mage/Catalog/Search/controllers/AjaxController.php) that calls this block or is there any simpler way?
It seems to me that creating a module just to override one line is not right.