[Fusionforge-commits] r7465 - in trunk/gforge/common: include/system pm tracker

Julien HEYMAN jheyman at libremir.placard.fr.eu.org
Tue Apr 21 15:09:50 CEST 2009


Author: jheyman
Date: 2009-04-21 15:09:50 +0200 (Tue, 21 Apr 2009)
New Revision: 7465

Modified:
   trunk/gforge/common/include/system/pgsql.class.php
   trunk/gforge/common/pm/ProjectGroupFactory.class.php
   trunk/gforge/common/pm/ProjectTask.class.php
   trunk/gforge/common/tracker/ArtifactTypeFactory.class.php
Log:
Fixed typo errors

Modified: trunk/gforge/common/include/system/pgsql.class.php
===================================================================
--- trunk/gforge/common/include/system/pgsql.class.php	2009-04-21 12:30:19 UTC (rev 7464)
+++ trunk/gforge/common/include/system/pgsql.class.php	2009-04-21 13:09:50 UTC (rev 7465)
@@ -272,7 +272,7 @@
 			return false;
 		} else {
 			$res = db_query_params ('SELECT group_id FROM nss_groups WHERE group_id=$1',
-						aarray ($group_id));
+						array ($group_id));
 			if (db_numrows($res) == 0){
 				return false;
 			} else {

Modified: trunk/gforge/common/pm/ProjectGroupFactory.class.php
===================================================================
--- trunk/gforge/common/pm/ProjectGroupFactory.class.php	2009-04-21 12:30:19 UTC (rev 7464)
+++ trunk/gforge/common/pm/ProjectGroupFactory.class.php	2009-04-21 13:09:50 UTC (rev 7465)
@@ -100,7 +100,7 @@
                                      AND role_setting.section_name = $2
                                      AND role_setting.ref_id=project_group_list_vw.group_project_id
 				     AND user_group.role_id = role_setting.role_id
-				     AND user_group.user_id=$3
+				     AND user_group.user_id=$3)
         ORDER BY group_project_id',
 								   array ($this->Group->getID(),
 									  'pm',

Modified: trunk/gforge/common/pm/ProjectTask.class.php
===================================================================
--- trunk/gforge/common/pm/ProjectTask.class.php	2009-04-21 12:30:19 UTC (rev 7464)
+++ trunk/gforge/common/pm/ProjectTask.class.php	2009-04-21 13:09:50 UTC (rev 7465)
@@ -195,7 +195,7 @@
 
 		} else {
 			$res = db_query_params ('SELECT nextval($1) AS id', 
-						aarray ('project_task_pk_seq'));
+						array ('project_task_pk_seq'));
 			if (!$project_task_id=db_result($res,0,'id')) {
 				$this->setError( 'Could Not Get Next Project Task ID' );
 				db_rollback();
@@ -622,8 +622,7 @@
 		FROM project_task 
 		WHERE group_project_id=$1
 		ORDER BY project_task_id DESC',
-						array ($this->ProjectGroup->getID(),
-						       $this->getID())) ;
+						array ($this->ProjectGroup->getID())) ;
 		}
 	}
 
@@ -633,7 +632,6 @@
 	 *  @return database result set.
 	 */
 	function getHistory() {
-		$sql="";
 		return db_query_params ('SELECT * 
 		FROM project_history_user_vw 
 		WHERE project_task_id=$1

Modified: trunk/gforge/common/tracker/ArtifactTypeFactory.class.php
===================================================================
--- trunk/gforge/common/tracker/ArtifactTypeFactory.class.php	2009-04-21 12:30:19 UTC (rev 7464)
+++ trunk/gforge/common/tracker/ArtifactTypeFactory.class.php	2009-04-21 13:09:50 UTC (rev 7465)
@@ -114,7 +114,7 @@
                                           AND role_setting.ref_id=artifact_group_list_vw.group_artifact_id
                                           
    					  AND user_group.role_id = role_setting.role_id
-					  AND user_group.user_id = $3
+					  AND user_group.user_id = $3 )
 			ORDER BY group_artifact_id ASC',
 								   array ($this->Group->getID(),
 									  'tracker',




More information about the Fusionforge-commits mailing list