1. Christoffer Niska
  2. yii-bootstrap
Issue #176 resolved

TbAlert undefined closeText

Anonymous created an issue

On line 116 of TbAlert, there is undefined closeText in case when I define 'closeText' => false when creating alert. This results to exception of undefined index 'closeText' on line 119.

There should be defined If option lke this:

if ($this->closeText !== false && !isset($alert['closeText'])) $alert['closeText'] = $this->closeText; else $alert['closeText'] = false;