[Fusionforge-commits] r12455 - trunk/src/plugins/mantisbt/common

Franck VILLAUME nerville at fusionforge.org
Tue Mar 1 09:05:24 CET 2011


Author: nerville
Date: 2011-03-01 09:05:24 +0100 (Tue, 01 Mar 2011)
New Revision: 12455

Modified:
   trunk/src/plugins/mantisbt/common/MantisBTPlugin.class.php
Log:
fix syntax

Modified: trunk/src/plugins/mantisbt/common/MantisBTPlugin.class.php
===================================================================
--- trunk/src/plugins/mantisbt/common/MantisBTPlugin.class.php	2011-02-28 23:34:30 UTC (rev 12454)
+++ trunk/src/plugins/mantisbt/common/MantisBTPlugin.class.php	2011-03-01 08:05:24 UTC (rev 12455)
@@ -225,10 +225,10 @@
 				$groupObject->setError('removeProjetMantis::Error' . ' '.$soapFault->faultstring);
 				return false;
 			}
-			if (!isset($delete)){
+			if (!isset($delete)) {
 				$groupObject->setError('removeProjetMantis:: ' . _('No project found in MantisBT') . ' ' .$localMantisbtConf['id_mantisbt']);
-				return false
-			}else{
+				return false;
+			} else {
 				db_query_params('DELETE FROM plugin_mantisbt WHERE id_mantisbt = $1',
 						array($localMantisbtConf['id_mantisbt']));
 			}




More information about the Fusionforge-commits mailing list