[Fusionforge-commits] r7178 - trunk/gforge/common/include

Julien HEYMAN jheyman at libremir.placard.fr.eu.org
Wed Mar 18 10:36:51 CET 2009


Author: jheyman
Date: 2009-03-18 10:36:51 +0100 (Wed, 18 Mar 2009)
New Revision: 7178

Modified:
   trunk/gforge/common/include/Role.class.php
Log:
Fixed bug in Role

Modified: trunk/gforge/common/include/Role.class.php
===================================================================
--- trunk/gforge/common/include/Role.class.php	2009-03-18 08:50:12 UTC (rev 7177)
+++ trunk/gforge/common/include/Role.class.php	2009-03-18 09:36:51 UTC (rev 7178)
@@ -432,7 +432,7 @@
    				   doc_flags=$4,
    				   cvs_flags=$5,
    				   release_flags=$6,
-   				   artifact_flags=$7,
+   				   artifact_flags=$7
    				WHERE role_id=$8',
    						array ($data['projectadmin'][0],
 						       $data['forumadmin'][0],
@@ -443,7 +443,7 @@
 						       $data['trackeradmin'][0],
 						       $this->getID())) ;
 			if (!$res) {
-				$this->setError('update::usergroup::'.db_error());
+				$this->setError('::update::usergroup::'.db_error());
 				db_rollback();
 				return false;
 			}
@@ -607,7 +607,7 @@
 						       $user_id,
 						       $this->Group->getID()));
 			if (!$res) {
-				$this->setError('update::usergroup::'.db_error());
+				$this->setError('::update::usergroup::'.db_error());
 				db_rollback();
 				return false;
 			}




More information about the Fusionforge-commits mailing list