[Fusionforge-commits] r13613 - trunk/src/common/docman

Franck VILLAUME nerville at fusionforge.org
Tue Jun 28 15:39:31 CEST 2011


Author: nerville
Date: 2011-06-28 15:39:31 +0200 (Tue, 28 Jun 2011)
New Revision: 13613

Modified:
   trunk/src/common/docman/DocumentGroup.class.php
Log:
cleanup

Modified: trunk/src/common/docman/DocumentGroup.class.php
===================================================================
--- trunk/src/common/docman/DocumentGroup.class.php	2011-06-28 13:32:21 UTC (rev 13612)
+++ trunk/src/common/docman/DocumentGroup.class.php	2011-06-28 13:39:31 UTC (rev 13613)
@@ -100,7 +100,7 @@
 			$this->setError(_('DocumentGroup: Name is required'));
 			return false;
 		}
-		
+
 		if ($parent_doc_group) {
 			// check if parent group exists
 			$res = db_query_params('SELECT * FROM doc_groups WHERE doc_group=$1 AND group_id=$2',
@@ -118,8 +118,8 @@
 			$this->setPermissionDeniedError();
 			return false;
 		}
-		
-		$res=db_query_params('SELECT * FROM doc_groups WHERE groupname=$1 AND parent_doc_group=$2 AND group_id=$3',
+
+		$res = db_query_params('SELECT * FROM doc_groups WHERE groupname=$1 AND parent_doc_group=$2 AND group_id=$3',
 					array($name,
 						$parent_doc_group,
 						$this->Group->getID())
@@ -208,7 +208,7 @@
 		} else {
 			$uploaded_data_type = $uploaded_data['type'];
 		}
-		
+
 		switch ($uploaded_data_type) {
 			case "application/zip": {
 				$returned = $this->__injectZip($uploaded_data);




More information about the Fusionforge-commits mailing list