Changeset 11967

Show
Ignore:
Timestamp:
09/03/07 12:34:48 (1 year ago)
Author:
bergie
Message:

@tarjei: please test your commits :-)

Files:

Legend:

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

    r11955 r11967  
    4646     * @var string schema_name 
    4747     */ 
    48     var $schema_name 
     48    var $schema_name = ''; 
     49     
    4950    /** 
    5051     * This is the storage implementation which is used for operation on the types. It encaspulates 
     
    207208            if (!isset($config['type']) ) 
    208209            { 
    209                 throw new Exception("The field "$name" is missing type"); 
     210                throw new Exception("The field {$name} is missing type"); 
    210211            } 
    211212 
  • trunk/midcom/midcom.helper.datamanager2/type/blobs.php

    r11359 r11967  
    199199    { 
    200200        $attachment = new midcom_baseclasses_database_attachment($guid); 
    201         if (! $attachment) 
     201        if (   ! $attachment 
     202            || !$attachment->guid) 
    202203        { 
    203204            debug_push_class(__CLASS__, __FUNCTION__);