ftimme
2011-10-10 6e9c073b9082d6b9d96e1ef7aedecefc33b02eee
interface/lib/classes/listform_actions.inc.php
@@ -86,6 +86,7 @@
      $rec['bgcolor'] = $this->DataRowColor;
      
      //* substitute value for select fields
      if(is_array($app->listform->listDef['item']) && count($app->listform->listDef['item']) > 0) {
      foreach($app->listform->listDef['item'] as $field) {
         $key = $field['field'];
         if(isset($field['formtype']) && $field['formtype'] == 'SELECT') {
@@ -97,6 +98,7 @@
            $rec[$key] = @$field['value'][$rec[$key]];
         }
      }
      }
      
      //* The variable "id" contains always the index variable
      $rec['id'] = $rec[$this->idx_key];