Changeset 2556

Show
Ignore:
Timestamp:
06/11/08 22:22:08 (20 months ago)
Author:
bchoate
Message:

Fixed a warning.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-40/lib/MT/Template/ContextHandlers.pm

    r2548 r2556  
    19631963    $rebuild = qq{<__trans phrase="[_1]Publish[_2] your site to see these changes take effect." params="<a href="javascript:void(0);" class="rebuild-link" onclick="doRebuild('$blog_id', 'prompt=index');">%%</a>">} if $rebuild eq 'index'; 
    19641964    my $close = ''; 
    1965     if ($args->{can_close} || (!exists $args->{can_close})) { 
     1965    if ($id && ($args->{can_close} || (!exists $args->{can_close}))) { 
    19661966        $close = qq{<a href="javascript:void(0)" onclick="javascript:hide('$id');return false;" class="close-me"><span>close</span></a>}; 
    19671967    }