[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1911-ga943ffe

Franck Villaume nerville at libremir.placard.fr.eu.org
Wed Jun 7 18:39:40 CEST 2017


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  a943ffec31608e8cfa83202a7b658bd91ef91fd4 (commit)
      from  b015ffd39ad14e9ba2d6b390c302a1d3903d866d (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=a943ffec31608e8cfa83202a7b658bd91ef91fd4

commit a943ffec31608e8cfa83202a7b658bd91ef91fd4
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Wed Jun 7 18:38:51 2017 +0200

    fix missing sprintf

diff --git a/src/common/include/Plugin.class.php b/src/common/include/Plugin.class.php
index b0efb64..6d6ce0b 100644
--- a/src/common/include/Plugin.class.php
+++ b/src/common/include/Plugin.class.php
@@ -202,7 +202,7 @@ class Plugin extends FFError {
 				$code = symlink($path . '/etc/plugins/' . $name, forge_get_config('config_path'). '/plugins/'.$name);
 				if (!$code) {
 					$this->setError('['.forge_get_config('config_path'). '/plugins/'.$name.'->'.$path . '/etc/plugins/' . $name . ']'.'<br />'.
-					_('Config file could not be linked to %s. Check the write permissions for apache in /etc/fusionforge/plugins or create the link manually.'), forge_get_config('config_path').'/plugins/'.$name);
+					sprintf(_('Config file could not be linked to %s. Check the write permissions for apache in /etc/fusionforge/plugins or create the link manually.'), forge_get_config('config_path').'/plugins/'.$name));
 				}
 			}
 		}
@@ -219,7 +219,7 @@ class Plugin extends FFError {
 				$code = symlink($path . '/etc/plugins/' . $name, forge_get_config('config_path'). '/plugins/'.$name);
 				if (!$code) {
 					$this->setError('['.forge_get_config('config_path'). '/plugins/'.$name.'->'.$path . '/etc/plugins/' . $name . ']'.'<br />'.
-					_('Config file could not be linked to %s. Check the write permissions for apache in /etc/fusionforge/plugins or create the link manually.'), forge_get_config('config_path').'/plugins/'.$name);
+					sprintf(_('Config file could not be linked to %s. Check the write permissions for apache in /etc/fusionforge/plugins or create the link manually.'), forge_get_config('config_path').'/plugins/'.$name));
 				}
 			}
 		}

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

Summary of changes:
 src/common/include/Plugin.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list