[Fusionforge-commits] r10478 - trunk/src/common/docman/actions

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Wed Sep 15 12:07:08 CEST 2010


Author: nerville
Date: 2010-09-15 12:07:08 +0200 (Wed, 15 Sep 2010)
New Revision: 10478

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

Modified: trunk/src/common/docman/actions/addfile.php
===================================================================
--- trunk/src/common/docman/actions/addfile.php	2010-09-15 10:04:52 UTC (rev 10477)
+++ trunk/src/common/docman/actions/addfile.php	2010-09-15 10:07:08 UTC (rev 10478)
@@ -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 Fusionforge-commits mailing list