Changeset 2567

Show
Ignore:
Timestamp:
06/13/08 05:19:11 (20 months ago)
Author:
auno
Message:

Update fileinfo properly for dynamic publishing settings changed. BugzID:80057

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-40/lib/MT/CMS/Blog.pm

    r2520 r2567  
    15251525        my $path_changed = 0; 
    15261526        for my $path_field (qw( site_path archive_path site_url archive_url )) { 
    1527             $path_changed = 1 && last if $app->param($path_field) 
    1528                 && $app->param($path_field) ne $original->$path_field(); 
     1527            if ( $obj->$path_field() ne $original->$path_field() ) { 
     1528                $path_changed = 1; 
     1529                last; 
     1530            } 
    15291531        } 
    15301532