[Fusionforge-commits] FusionForge branch master updated. 7ec6111d783b078a72c8b40d1a75fe427d43cd60

Alain Peyrat aljeux at fusionforge.org
Fri Nov 15 12:57:36 CET 2013


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  7ec6111d783b078a72c8b40d1a75fe427d43cd60 (commit)
      from  ac057064f8a110461066460cd83d2280e9ef7807 (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 7ec6111d783b078a72c8b40d1a75fe427d43cd60
Author: Alain Peyrat <alain.peyrat at alcatel-lucent.com>
Date:   Fri Nov 15 12:57:28 2013 +0100

    Fix code

diff --git a/src/plugins/hudson/include/PluginHudsonJobDao.class.php b/src/plugins/hudson/include/PluginHudsonJobDao.class.php
index 3d1935e..5fb1678 100644
--- a/src/plugins/hudson/include/PluginHudsonJobDao.class.php
+++ b/src/plugins/hudson/include/PluginHudsonJobDao.class.php
@@ -38,7 +38,7 @@ class PluginHudsonJobDao extends DataAccessObject {
 	 */
 	function & searchAll() {
 		$sql = "SELECT * FROM plugin_hudson_job";
-		return $this->retrieve($sql);
+		return $this->retrieve($sql, array());
 	}
 
 	/**
diff --git a/src/plugins/hudson/include/hudsonPlugin.class.php b/src/plugins/hudson/include/hudsonPlugin.class.php
index c4785ea..b7cda54 100644
--- a/src/plugins/hudson/include/hudsonPlugin.class.php
+++ b/src/plugins/hudson/include/hudsonPlugin.class.php
@@ -344,7 +344,7 @@ class hudsonPlugin extends Plugin {
 	}
 
 	function role_translate_strings(&$params) {
-		$right = new PluginSpecificRoleSetting($role, 'plugin_hudson_read');
+		$right = new PluginSpecificRoleSetting($params['role'], 'plugin_hudson_read');
 		$right->setDescription(_('Hudson access'));
 		$right->setValueDescriptions(array('0' => _('No access'),
 							'1' => _('Full access')));

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

Summary of changes:
 src/plugins/hudson/include/PluginHudsonJobDao.class.php |    2 +-
 src/plugins/hudson/include/hudsonPlugin.class.php       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list