yiisoft/yii — pull request #753 by resurtm (2012-05-26 07:39:43+00:00)
Title: CHtml::resolveValue() ignoring of attribute elements accessor at the begining of the $attribute argument now works properly

More accurate unit tests: https://github.com/resurtm/yii/commit/81bce10769143315c28cf060ae3e78c57473f3bb (will be pull requested in future)

Example:
```php
array1=array(
'k1'=>'v1',
'k2'=>array(
'k3'=>'v3',
'k4'=>'v4',
),
);
}
}
$testFormModel=new TestFormModel();
?>

should be v1:

should be array('k3'=>'v3','k4'=>'v4'):

should be v3:

should be v4:

```

Current behavior:
![Current behavior](http://storage9.static.itmages.ru/i/12/0526/h_1338017839_4185078_d1289e3566.png)

Should be (with patch in this PR):
![Should be](http://storage2.static.itmages.ru/i/12/0526/h_1338017888_2323048_c51879090a.png)