[Fusionforge-commits] FusionForge branch master updated. 16f2679445602ee16ed09f133371f1b8890db6f5

Franck Villaume nerville at fusionforge.org
Sat Jul 12 18:31:14 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  16f2679445602ee16ed09f133371f1b8890db6f5 (commit)
      from  592a5d485e778e20d1de08b8c2f7ba263fb6442e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 16f2679445602ee16ed09f133371f1b8890db6f5
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sat Jul 12 18:27:30 2014 +0200

    FRS: fix listTableTop function call: wrong args

diff --git a/src/common/frs/views/listpackages.php b/src/common/frs/views/listpackages.php
index ac537bb..287e2e4 100644
--- a/src/common/frs/views/listpackages.php
+++ b/src/common/frs/views/listpackages.php
@@ -141,17 +141,14 @@ if ( count($FRSPackages) < 1) {
 				$cell_data[] = _('Latest');
 
 				// Switch whether release_id exists and/or release_id == package_release['release_id']
-				if ( ! $release_id ) {
+				if (!$release_id || $release_id == $package_release_id) {
 					// no release_id
-					echo $HTML->listTableTop($cell_data, '', false);
-				} elseif ( $release_id==$package_release_id ) {
-					// release_id is current one
-					echo $HTML->listTableTop($cell_data, '', true);
+					echo $HTML->listTableTop($cell_data);
 				} else {
 				// release_id but not current one => dont print anything here
 				}
 
-				if ( ! $release_id || $release_id == $package_release_id ) {
+				if ( !$release_id || $release_id == $package_release_id ) {
 					// no release_id OR no release_id OR release_id is current one
 					if ( !$res_files || $num_files < 1 ) {
 						$cells = array();

-----------------------------------------------------------------------

Summary of changes:
 src/common/frs/views/listpackages.php |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list