magento-hackathon/Magento-Two-factor-Authentication

View on GitHub
src/app/code/community/MageHackDay/TwoFactorAuth/Block/Adminhtml/Select.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
class MageHackDay_TwoFactorAuth_Block_Adminhtml_Select extends Mage_Adminhtml_Block_Html_Select {
    protected function _toHtml()
    {
        $this->setName($this->getInputName());
        $this->setClass('select');
        return trim(preg_replace('/\s+/', ' ',parent::_toHtml()));
    }

}