Changeset 803

Show
Ignore:
Timestamp:
07/07/08 20:52:38 (5 months ago)
Author:
mpaschal
Message:

Only link to the post if it's (supposed to be) already published

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/LinkedEntryCustomFields/lib/RightFieldsConvert/App.pm

    r801 r803  
    7979            my ($obj, $row) = @_; 
    8080            $row->{'status_' . lc MT::Entry::status_text($obj->status)} = 1; 
    81             $row->{entry_permalink} = $obj->permalink; 
     81            $row->{entry_permalink} = $obj->permalink 
     82                if $obj->status == MT::Entry->RELEASE(); 
    8283            if (my $ts = $obj->authored_on) { 
    8384                my $date_format = MT::App::CMS->LISTING_DATE_FORMAT();