Changeset 13685

Show
Ignore:
Timestamp:
11/29/07 15:56:47 (1 year ago)
Author:
bergie
Message:

Some bulletproofing

Files:

Legend:

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

    r13150 r13685  
    5454 
    5555    function convert_to_storage() 
    56     {                 
     56    { 
     57        if (!$this->storage->object) 
     58        { 
     59            return ''; 
     60        } 
     61     
    5762        $this->location->relation = $this->relation; 
    58         if ($this->location->guid) 
     63        if (   isset($this->location->guid) 
     64            && $this->location->guid) 
    5965        { 
    6066            $this->location->update();