Changeset 1874

Show
Ignore:
Timestamp:
04/13/08 05:14:58 (19 months ago)
Author:
bchoate
Message:

Fixed a warning.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-34/lib/MT/App/CMS.pm

    r1866 r1874  
    676676                condition => sub { 
    677677                    my $app       = MT->app; 
    678                     my $tmpl_type = $app->param('filter_key'); 
     678                    my $tmpl_type = $app->param('filter_key') || ''; 
    679679                    return $tmpl_type eq 'system_templates' ? 0 
    680680                      : $tmpl_type    eq 'email_templates'  ? 0