Fixes bug #2875
[koha_fer] / about.pl
index a31b0a0..1e54bc9 100755 (executable)
--- a/about.pl
+++ b/about.pl
@@ -16,7 +16,6 @@
 # Suite 330, Boston, MA  02111-1307 USA
 
 use strict;
-require Exporter;
 
 use C4::Output;    # contains gettemplate
 use C4::Auth;
@@ -67,17 +66,21 @@ Biblio::EndnoteStyle
 CGI
 CGI::Carp
 CGI::Session
+CGI::Session::Serialize::yaml
 Class::Factory::Util
 Class::Accessor
 Compress::Zlib
 DBD::mysql
+DBD::SQLite
 DBI
 Data::Dumper
 Date::Calc
 Data::ICal
 Date::Manip
 Digest::MD5
+Email::Date
 File::Temp
+GD
 GD::Barcode::UPCE
 Getopt::Long
 Getopt::Std
@@ -85,7 +88,6 @@ HTML::Template::Pro
 HTTP::Cookies
 HTTP::Request::Common
 HTML::Scrubber
-Image::Magick
 LWP::Simple
 LWP::UserAgent
 Lingua::Stem
@@ -146,14 +148,12 @@ foreach my $component ( sort @component_names ) {
     else {
         $version = 'module is missing';
     }
-    $counter++;
-    $counter=0 if $counter >3;
     push(
         @components,
         {
             name    => $component,
             version => $version,
-            counter => $counter,
+            newrow  => (++$counter % 4) ? 0 : 1,
         }
     );
 }