Issue #156 wontfix

TbButton::toggle force boolean

jfragoulis
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