Changeset 13808


Ignore:
Timestamp:
01/24/12 06:49:38 (4 weeks ago)
Author:
PaulHarvey
Message:

Item11468: Fix FORMAT{"0" bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Release01x01/core/lib/Foswiki/Macros/FORMAT.pm

    r13288 r13808  
    99sub FORMAT { 
    1010    my ( $this, $params, $topicObject ) = @_; 
     11    my $list_str = defined $params->{_DEFAULT} ? $params->{_DEFAULT} : ''; 
    1112 
    12     my @list = split( /,\s*/, $params->{_DEFAULT} || '' ); 
     13    my @list = split( /,\s*/, $list_str ); 
    1314    my $s; 
    1415 
Note: See TracChangeset for help on using the changeset viewer.