Skip to content

Commit

Permalink
Fixed warning "uninitialized value in hash" in MT::CMS::Entry when vi…
Browse files Browse the repository at this point in the history
…ewing entry listing screen.
  • Loading branch information
jayallen committed Jul 11, 2011
1 parent a66c879 commit 4f17ada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MT/CMS/Entry.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2152,7 +2152,7 @@ sub build_entry_table {
= const('DISPLAY_LENGTH_EDIT_ENTRY_TEXT_FROM_EXCERPT');
my $text_max_len = const('DISPLAY_LENGTH_EDIT_ENTRY_TEXT_BREAK_UP');
my %blog_perms;
$blog_perms{ $perms->blog_id } = $perms if $perms;
$blog_perms{ $perms->blog_id } = $perms if $perms and $perms->blog_id;

while ( my $obj = $iter->() ) {
my $blog_perms;
Expand Down

0 comments on commit 4f17ada

Please sign in to comment.