[Fusionforge-commits] FusionForge branch 6.0 updated. b50f481415c9500fc9a35dc0ada123c1b2da722a

Franck Villaume nerville at fusionforge.org
Sun Mar 22 17:06:03 CET 2015


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, 6.0 has been updated
       via  b50f481415c9500fc9a35dc0ada123c1b2da722a (commit)
      from  8209707e0a80feadd7445abbce1ad5dc1487b6f1 (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 b50f481415c9500fc9a35dc0ada123c1b2da722a
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Mar 22 17:04:55 2015 +0100

    fix PHP warning, remove unused var, use HTML helpers

diff --git a/src/plugins/scmgit/common/GitPlugin.class.php b/src/plugins/scmgit/common/GitPlugin.class.php
index 5fe68f8..440c22a 100644
--- a/src/plugins/scmgit/common/GitPlugin.class.php
+++ b/src/plugins/scmgit/common/GitPlugin.class.php
@@ -323,14 +323,14 @@ control over it to the project's administrator.");
 										SCM_EXTRA_REPO_ACTION_UPDATE,
 										$this->getID()));
 		$rows = db_numrows($result);
+		$repo_list = array();
 		for ($i=0; $i<$rows; $i++) {
 			$repo_list[] = db_result($result,$i,'repo_name');
 		}
-		$clone_commands = array();
 		foreach ($repo_list as $repo_name) {
 			if (forge_get_config('use_smarthttp', 'scmgit')) {
 				$protocol = forge_get_config('use_ssl', 'scmgit')? 'https' : 'http';
-				$b .= '['.util_make_link('/scm/browser.php?group_id='.$project->getID().'&extra='.$repo_name, _('Browse extra git repository: ') . $repo_name).']<br />';
+				$b .= '['.util_make_link('/scm/browser.php?group_id='.$project->getID().'&extra='.$repo_name, _('Browse extra git repository')._(': ').$repo_name).']'.html_e('br');
 			}
 		}
 
@@ -342,7 +342,7 @@ control over it to the project's administrator.");
 		for ($i=0; $i<$rows; $i++) {
 			$user_id = db_result($result,$i,'user_id');
 			$user_name = db_result($result,$i,'user_name');
-			$b .= '['.util_make_link('/scm/browser.php?group_id='.$project->getID().'&user_id='.$user_id, _('Browse personal git repository: ') . $user_name).']<br />';
+			$b .= '['.util_make_link('/scm/browser.php?group_id='.$project->getID().'&user_id='.$user_id, _('Browse personal git repository')._(': ').$user_name).']'.html_e('br');
 		}
 
 		return $b;

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

Summary of changes:
 src/plugins/scmgit/common/GitPlugin.class.php |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list