Changeset 2740

Show
Ignore:
Timestamp:
07/09/08 06:02:48 (12 months ago)
Author:
fumiakiy
Message:

Hash, not hash ref.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/release-41/lib/MT/App/Search/Legacy.pm

    r2739 r2740  
    645645        $args{limit} = $app->{searchparam}{MaxResults}; 
    646646    } 
    647     my %terms = { status => MT::Entry::RELEASE() }; 
     647    my %terms = ( status => MT::Entry::RELEASE() ); 
    648648    $terms{class} = $app->{searchparam}{entry_type} || '*'; 
    649649    my $iter = MT::Entry->load_iter(\%terms, \%args);