Bug 7143: Make about.pl knows about the new epoch column
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 31 Oct 2017 16:09:47 +0000 (13:09 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 1 Nov 2017 16:10:16 +0000 (13:10 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

about.pl

index 1fd28e4..61e81c6 100755 (executable)
--- a/about.pl
+++ b/about.pl
@@ -420,7 +420,7 @@ if ( open( my $file, "<:encoding(UTF-8)", "$docdir" . "/history.txt" ) ) {
     shift @lines; #remove header row
 
     foreach (@lines) {
-        my ( $date, $desc, $tag ) = split(/\t/);
+        my ( $epoch, $date, $desc, $tag ) = split(/\t/);
         if(!$desc && $date=~ /(?<=\d{4})\s+/) {
             ($date, $desc)= ($`, $');
         }