Changeset 2731

Show
Ignore:
Timestamp:
07/08/08 08:07:07 (5 months ago)
Author:
auno
Message:

Fixed to set tags properly for WXR format in 2.3.x. BugzID:80487

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-41/plugins/WXRImporter/lib/WXRImporter/WXRHandler.pm

    r2718 r2731  
    520520        } elsif ('_category' eq $key) { 
    521521            if ( $hash->{_a} ) { 
    522                 if ( $hash->{_a}->{domain} eq 'tag' && $hash->{_a}->{nicename} ) 
    523                 { 
     522                if ( $hash->{_a}->{domain} eq 'tag' ) { 
    524523                    $value = MT::Util::decode_url( $hash->{_a}->{nicename} ) 
    525524                      if !$value; 
    526                     push @tags, $value
     525                    push @tags, $value if $value
    527526                } 
    528527            }