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

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Tue Jan 25 13:43:14 CET 2011


Author: nerville
Date: 2011-01-25 13:43:14 +0100 (Tue, 25 Jan 2011)
New Revision: 12079

Modified:
   trunk/src/common/docman/actions/addfile.php
   trunk/src/common/docman/actions/editdocgroup.php
Log:
fix syntax

Modified: trunk/src/common/docman/actions/addfile.php
===================================================================
--- trunk/src/common/docman/actions/addfile.php	2011-01-25 12:37:15 UTC (rev 12078)
+++ trunk/src/common/docman/actions/addfile.php	2011-01-25 12:43:14 UTC (rev 12079)
@@ -134,7 +134,7 @@
 		setcookie("gforgecurrentdocdata", "", time() - 3600);
 	}
 	if (forge_check_perm('docman', $group_id, 'approve')) {
-		$return_msg = sprintf(_('Document %s submitted successfully.',$d->getFilename());
+		$return_msg = sprintf(_('Document %s submitted successfully.'),$d->getFilename());
 		session_redirect('/docman/?group_id='.$group_id.'&view=listfile&dirid='.$doc_group.'&feedback='.urlencode($return_msg));
 	} else {
 		$return_msg = sprintf(_('Document %s submitted successfully : pending state (need validation).'),$d->getFilename());

Modified: trunk/src/common/docman/actions/editdocgroup.php
===================================================================
--- trunk/src/common/docman/actions/editdocgroup.php	2011-01-25 12:37:15 UTC (rev 12078)
+++ trunk/src/common/docman/actions/editdocgroup.php	2011-01-25 12:43:14 UTC (rev 12079)
@@ -47,6 +47,4 @@
 	$return_msg = _('Document Directory Updated successfully.');
 	session_redirect('/docman/?group_id='.$group_id.'&view=listfile&dirid='.$dirid.'&feedback='.urlencode($return_msg));
 }
-	
-}
 ?>




More information about the Fusionforge-commits mailing list