Skip to content

Commit

Permalink
[#236 state:resolved] Fixed last of warnings stemming from unit test …
Browse files Browse the repository at this point in the history
…no. 61.
  • Loading branch information
byrnereese committed Oct 8, 2010
1 parent 30f8f31 commit 66c6148
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/MT/BackupRestore/BackupFileHandler.pm
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ sub end_element {
$self->{callback}->(($self->{state} ? $self->{state} . " " : '') .
MT->translate("[_1] records restored...", $records), $data->{LocalName})
if $records && ($records % 10 == 0);
$records ||= 0;
$self->{records} = $records + 1;
my $cb = "restored.$name";
$cb .= ":$ns" if MT::BackupRestore::NS_MOVABLETYPE() ne $ns;
Expand Down

0 comments on commit 66c6148

Please sign in to comment.