[Fusionforge-commits] r8702 - trunk/gforge/common/tracker

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sun Jan 31 18:24:10 CET 2010


Author: aljeux
Date: 2010-01-31 18:24:10 +0100 (Sun, 31 Jan 2010)
New Revision: 8702

Modified:
   trunk/gforge/common/tracker/Artifact.class.php
Log:
Fix tracker: Impossible to create a defect with an attached file

Modified: trunk/gforge/common/tracker/Artifact.class.php
===================================================================
--- trunk/gforge/common/tracker/Artifact.class.php	2010-01-29 14:09:52 UTC (rev 8701)
+++ trunk/gforge/common/tracker/Artifact.class.php	2010-01-31 17:24:10 UTC (rev 8702)
@@ -684,8 +684,8 @@
 	 */
 	function &getFiles() {
 		if (!isset($this->files)) {
-			$res = db_query_params ('SELECT id,artifact_id,description,filename,filesize," .
-					"filetype,adddate,submitted_by,user_name,realname
+			$res = db_query_params ('SELECT id,artifact_id,description,filename,filesize,' .
+					'filetype,adddate,submitted_by,user_name,realname
 					 FROM artifact_file_user_vw WHERE artifact_id=$1',
 						array ($this->getID())) ;
 			$rows=db_numrows($res);




More information about the Fusionforge-commits mailing list