Ignore:
Timestamp:
11/22/08 11:42:31 (4 years ago)
Author:
CrawfordCurrie
Message:

Item240: minor whoopsie, can get an uninitialised var warning without this

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki/Time.pm

    r848 r849  
    410410 
    411411    if (!defined($start)) { 
    412         $start = $end - _parseDuration( $first ); 
     412        $start = ($end || 0) - _parseDuration( $first ); 
    413413    } 
    414414    if (!defined($end)) { 
Note: See TracChangeset for help on using the changeset viewer.