Browse files

No commit message

  • Loading branch information...
1 parent 1424003 commit b7990fcca9259b6c233d54c224119f17bb0125c0 qiang.xue committed Mar 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/web/form/CFormElementCollection.php
View
2 framework/web/form/CFormElementCollection.php
@@ -71,7 +71,7 @@ public function add($key,$value)
{
if(!isset($value['type']))
$value['type']='text';
- if($value['type']==='text')
+ if($value['type']==='string')
{
unset($value['type'],$value['name']);
$element=new CFormStringElement($value,$this->_form);

0 comments on commit b7990fc

Please sign in to comment.