Changeset 1955

Show
Ignore:
Timestamp:
04/17/08 21:19:10 (3 months ago)
Author:
bchoate
Message:

Fix for upgrading meta for MT::Category when custom fields isn't installed. BugId:79376

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-35/lib/MT/Upgrade.pm

    r1938 r1955  
    936936        return 0; 
    937937    } 
     938    if ($plugindata) { 
     939        return 0; 
     940    } 
    938941 
    939942    my $offset = int($param{offset} || 0); 
     
    972975 
    973976    my $sth = $dbh->prepare($sql) 
    974         or return $self->error($dbh->errstr || $DBI::errstr); 
     977        or return 0; # ignore this operation if _meta column doesn't exist 
    975978    $sth->execute 
    976979        or return $self->error($dbh->errstr || $DBI::errstr);