title: Yii activeCheckBoxList
body: <p>I have a strange probem </p>
  
  <p>In AR model,  Gift i have many_many relation with categories</p>
  
  <pre><code>              'categories'=&gt;array(self::MANY_MANY, 'GiftCategory',
                          'tbl_category_gift(gift_id, category_id)'),
  </code></pre>
  
  <p>And when i call     $gift->categories   it returns active record objects, and in database i see that values is stored correctly</p>
  
  <p>But when i write</p>
  
  <pre><code>        &lt;? echo $form-&gt;checkBoxList($model, "categories", GiftCategory::listData()); ?&gt;
  </code></pre>
  
  <p>In my checkboxlist only 1 value is selected if model have categories, i dont understand wtf is it, please, help :) </p>
  
  <p>PROBLEM: Yii activeCheckBoxList displaying only 1 checked (only first)</p>