Changeset 16553

Show
Ignore:
Timestamp:
06/09/08 11:00:18 (3 months ago)
Author:
bergie
Message:

Some safety in case of broken image uploads

Files:

Legend:

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

    r15585 r16553  
    10121012        $result = ''; 
    10131013 
    1014         if (!$this->attachments_info) 
     1014        if (   !$this->attachments_info 
     1015            || !isset($this->attachments_info['main'])) 
    10151016        { 
    10161017            return $result;