Changeset 12301

Show
Ignore:
Timestamp:
09/14/07 15:49:26 (1 year ago)
Author:
netblade
Message:

Forwardporting [r12298]

Files:

Legend:

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

    r11359 r12301  
    187187 
    188188        $this->_type->selection = $selection; 
    189         if ($this->_type->allow_other
     189        if ($this->_type->allow_other && $results[$this->name]['other'] != ''
    190190        { 
    191191            $this->_type->others = explode(',', $results[$this->name]['other']); 
     192        } 
     193        else 
     194        { 
     195            $this->_type->others = null; 
    192196        } 
    193197    }