1. Christoffer Niska
  2. yii-bootstrap
  3. Issues
Issue #156 wontfix

TbButton::toggle force boolean

John Fragoulis
created an issue

On line 171:

{{{

!php

if (isset($this->toggle)) $this->htmlOptions['data-toggle'] = 'button'; }}}

I do not understand why "$toggle" is "null" by default and you check with "isset". I believe it should be "false" by default and check without "isset".

Comments (3)

  1. Log in to comment