Merge branch 'master' into new/bug_7164

This commit is contained in:
Paul Poulain 2011-12-14 15:35:39 +01:00
commit 3f2fe181af
1 changed files with 3 additions and 3 deletions

View File

@ -118,14 +118,14 @@ $template->param( table => $table );
#get file location
my $dir = C4::Context->config('intranetdir');
open( FILE, "$dir" . "/docs/history.txt" );
open( my $file, "<", "$dir" . "/docs/history.txt" );
my $i = 0;
my @rows2 = ();
my $row2 = [];
my @lines = <FILE>;
close(FILE);
my @lines = <$file>;
close($file);
shift @lines; #remove header row