Fix bug 6296, Adjust return value the textarea type in Dependent Field.

This commit is contained in:
hector
2011-03-22 16:14:28 -04:00
parent a579168e6a
commit 16042838cb

View File

@@ -155,7 +155,7 @@
$o->key=$k;
// TODO: review the condition to make the differentiation to dependent dropdowns in a grid function.
// this way of validation is if you have a dependent field in text fields
$o->value= ($type =='text')? $k:$v;
$o->value= ($type =='text' || $type =='textarea')? $k:$v;
$result[]=$o;
}
return $result;