1. Bogdan Savluk
  2. yii-chosen

Commits

Bogdan Savluk  committed 32f6261

remove few duplicated lines

  • Participants
  • Parent commits ac3ad7c
  • Branches default

Comments (0)

Files changed (1)

File Chosen.php

View file
  • Ignore whitespace
     /** Multiple items select */
     public static function multiSelect($name, $select, $data, $htmlOptions = array())
     {
-        if (substr($name, -2) !== '[]')
-            $name .= '[]';
-
         return Yii::app()->getController()->widget(__CLASS__, array(
             'name' => $name,
             'value' => $select,