Changeset 1596

Show
Ignore:
Timestamp:
06/02/08 16:50:01 (3 months ago)
Author:
kindlund
Message:

Minor code cleanup; handling undef date types.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • honeyclient/trunk/lib/HoneyClient/Util/Config.pm

    r1499 r1596  
    529529        $val = $parent->string_value(); 
    530530 
    531         # Trail leading and trailing whitespace  
    532         $val =~ s/^\s+|\s+$//g; 
     531        # Trail leading and trailing whitespace. 
     532        if (defined($val)) { 
     533            $val =~ s/^\s+|\s+$//g; 
     534        } 
    533535    } else {  
    534536