[evolvis-commits] r15740: woops.... missing { }

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Mar 1 00:27:12 CET 2011


Author: mirabilos
Date: 2011-03-01 00:27:12 +0100 (Tue, 01 Mar 2011)
New Revision: 15740

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/common/docman/actions/addfile.php
Log:
woops.... missing { }

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/docman/actions/addfile.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/docman/actions/addfile.php	2011-02-28 23:27:10 UTC (rev 15739)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/docman/actions/addfile.php	2011-02-28 23:27:12 UTC (rev 15740)
@@ -46,7 +46,7 @@
     session_redirect('/docman/?group_id='.$group_id.'&error_msg='.urlencode($return_msg));
 }
 	
-if (!$title || !$description || (!$uploaded_data && !$file_url && (!$editor && !$name ) ))
+if (!$title || !$description || (!$uploaded_data && !$file_url && (!$editor && !$name ) )) {
     $missing_params = array();
     if (!$title)
         $missing_params[] = 'title';
@@ -55,6 +55,7 @@
         $missing_params[] = 'description';
 
 	exit_missing_param($_SERVER['HTTP_REFERER'],$missing_params);
+}
 
 $d = new Document($g, false, false,$gfcommon.'docman/engine/');
 if (!$d || !is_object($d)) {		



More information about the evolvis-commits mailing list