Changeset 4560

Show
Ignore:
Timestamp:
10/02/09 08:42:20 (6 months ago)
Author:
fumiakiy
Message:

Added require in case it wasn't loaded yet. Thanks for the patch takeuchi-san! BugId:102586

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/greyhound/lib/MT/Object.pm

    r4501 r4560  
    10581058sub driver { 
    10591059    my $class = shift; 
     1060    require MT::ObjectDriverFactory; 
    10601061    return $DRIVER ||= MT::ObjectDriverFactory->instance 
    10611062        if UNIVERSAL::isa($class, 'MT::Object');