Changeset 15853

Show
Ignore:
Timestamp:
03/26/08 10:29:44 (7 months ago)
Author:
xfade
Message:

Add a bit more checking to images type.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/MidCOM_2_8/midcom.helper.datamanager2/type/images.php

    r15584 r15853  
    371371        { 
    372372            $images_identifier = $info[0]; 
    373             $this->titles[$images_identifier] = $this->attachments_info[$blobs_identifier]['object']->title; 
     373            if (   isset($this->attachments_info[$blobs_identifier]['object']) 
     374                && isset($images_identifier) 
     375               ) 
     376            { 
     377                $this->titles[$images_identifier] = $this->attachments_info[$blobs_identifier]['object']->title; 
     378            } 
    374379        } 
    375380    }