Bug 7164 follow-up history.txt and perlcritic compliance
* in history.txt, added a tab for Stephane Delaune, for display consistency
* fixed a small mistake in about.pl that was resulted in a perlcritic failure
(cherry picked from commit 82ed469632)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
a5fea5bcc6
commit
c509a2c163
6
about.pl
6
about.pl
|
|
@ -113,14 +113,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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue