BUG 6131 fixed of position for Fields handler

This commit is contained in:
Alvaro Campos
2011-04-06 18:14:50 -04:00
parent f33b2d6fb0
commit 4cacbd6af1

View File

@@ -312,7 +312,9 @@ class Form extends XmlForm
$i=0; $i=0;
// the variable fieldIsSet checks if a dropdown label has been saved so the values cannot be rewritted again. // the variable fieldIsSet checks if a dropdown label has been saved so the values cannot be rewritted again.
$fieldIsSet = false; $fieldIsSet = false;
foreach($item as $kk => $vv){//print_r($this->fields[$k]->fields[$kk]->type);print'<hr>'; foreach($item as $kk => $vv){
G::pr($item);die;
//print_r($this->fields[$k]->fields[$kk]->type);print'<hr>'; die;
//we need to know which fields are dropdowns //we need to know which fields are dropdowns
if($this->fields[$k]->fields[$kk]->type == 'dropdown'){ if($this->fields[$k]->fields[$kk]->type == 'dropdown'){
if(($this->fields[$k]->fields[$kk]->saveLabel)==1){ if(($this->fields[$k]->fields[$kk]->saveLabel)==1){