Show
Ignore:
Timestamp:
02/13/08 04:30:51 (22 months ago)
Author:
bchoate
Message:

Fixes for timer bug affecting MT-Wizard. BugId:68176

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/mt4.11/lib/MT/WeblogPublisher.pm

    r1361 r1362  
    13981398    if ($timer) { 
    13991399        $timer->pause_partial; 
    1400     } else { 
    1401         $timer = {}; 
    1402     } 
    1403     local $timer->{elapsed} = 0; 
     1400    } 
     1401    local $timer->{elapsed} = 0 if $timer; 
    14041402 
    14051403    if ( 
     
    17001698        if ($timer) { 
    17011699            $timer->pause_partial; 
    1702         } else { 
    1703             $timer = {}; 
    1704         } 
    1705         local $timer->{elapsed} = 0; 
     1700        } 
     1701        local $timer->{elapsed} = 0 if $timer; 
    17061702 
    17071703        my $ctx = MT::Template::Context->new;