From 75190c627b127c38ed7d1d65ff71a198667d063a Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Thu, 21 Jun 2012 15:41:54 +0200 Subject: [PATCH] Bug 8282: Bug in modules list in about.pl Last modules were not displayed if the number of modules did not match the number of rows of the table (when $number_of_modules % 4 != 0) --- about.pl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/about.pl b/about.pl index 7189a22..d196a7f 100755 --- a/about.pl +++ b/about.pl @@ -108,6 +108,13 @@ foreach (@components) { $row = []; } } +# Processing the last line (if there are any modules left) +if (scalar(@$row) > 0) { + # Extending $row to the table size + $$row[3] = ''; + # Pushing the last line + push (@$table, {row => $row}); +} ## ## $table $template->param( table => $table ); -- 1.7.9.5