Changeset 1891

Show
Ignore:
Timestamp:
04/14/08 19:11:09 (22 months ago)
Author:
bchoate
Message:

Fixed string comparison operator.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-34/lib/MT/CMS/Template.pm

    r1877 r1891  
    248248        $param->{build_type} = $obj->build_type; 
    249249        $param->{ 'build_type_' . ( $obj->build_type || 0 ) } = 1; 
    250         my ( $period, $interval ) = _get_schedule( $obj->build_interval ); 
    251         $param->{ 'schedule_period_' . $period } = 1; 
    252         $param->{schedule_interval} = $interval; 
     250        #my ( $period, $interval ) = _get_schedule( $obj->build_interval ); 
     251        #$param->{ 'schedule_period_' . $period } = 1; 
     252        #$param->{schedule_interval} = $interval; 
    253253        $param->{type} = 'custom' if $param->{type} eq 'module'; 
    254254    } else { 
     
    439439 
    440440    $param->{screen_id} = "edit-template-" . $param->{type}; 
    441     if (("custom" == $param->{type}) || ("custom" == $param->{type})) { 
     441    if (("custom" eq $param->{type}) || ("custom" eq $param->{type})) { 
    442442        $param->{screen_class} .= "edit-template-cache"; 
    443443    }