[Fusionforge-commits] r12427 - trunk/src/plugins/mantisbt/action

Franck VILLAUME nerville at fusionforge.org
Mon Feb 28 17:01:36 CET 2011


Author: nerville
Date: 2011-02-28 17:01:36 +0100 (Mon, 28 Feb 2011)
New Revision: 12427

Modified:
   trunk/src/plugins/mantisbt/action/updateConf.php
Log:
use mantisbt variable

Modified: trunk/src/plugins/mantisbt/action/updateConf.php
===================================================================
--- trunk/src/plugins/mantisbt/action/updateConf.php	2011-02-28 15:44:28 UTC (rev 12426)
+++ trunk/src/plugins/mantisbt/action/updateConf.php	2011-02-28 16:01:36 UTC (rev 12427)
@@ -34,8 +34,8 @@
 $confArr['soap_password'] = getStringFromRequest('soap_password');
 
 if (!$mantisbt->updateConf($group_id, $confArr))
-	session_redirect('/plugins/mantisbt/?type=admin&group_id='.$group_id.'&pluginname=mantisbt&error_msg='.urlencode($group->getErrorMessage()));
+	session_redirect('/plugins/mantisbt/?type=admin&group_id='.$group_id.'&pluginname='.$mantisbt->name.'&error_msg='.urlencode($group->getErrorMessage()));
 
 $feedback = _('MantisBT configuration successfully updated.');
-session_redirect('/plugins/mantisbt/?type=admin&group_id='.$group_id.'&pluginname=mantisbt&feedback='.urlencode($feedback));
+session_redirect('/plugins/mantisbt/?type=admin&group_id='.$group_id.'&pluginname='.$mantisbt->name.'&feedback='.urlencode($feedback));
 ?>




More information about the Fusionforge-commits mailing list