Changeset 15357

Show
Ignore:
Timestamp:
03/04/08 10:01:51 (7 months ago)
Author:
rambo
Message:

forward port r15356

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.helper.datamanager2/formmanager.php

    r15254 r15357  
    225225        foreach ($this->_schema->field_order as $name) 
    226226        { 
     227            if (!isset($this->_schema->fields[$name])) 
     228            { 
     229                debug_push_class(__CLASS__, __FUNCTION); 
     230                debug_add("Field {$name} is not present in \$this->_schema->fields (read from \$this->_schema->field_order)", MIDCOM_LOG_ERROR); 
     231                debug_pop(); 
     232                continue; 
     233            } 
    227234            $config = $this->_schema->fields[$name]; 
    228235            if (! $this->_is_widget_visible($name, $config))