[Fusionforge-commits] r11782 - trunk/src/www/docman

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Sun Dec 12 21:52:07 CET 2010


Author: nerville
Date: 2010-12-12 21:52:06 +0100 (Sun, 12 Dec 2010)
New Revision: 11782

Modified:
   trunk/src/www/docman/view.php
Log:
cleanup code

Modified: trunk/src/www/docman/view.php
===================================================================
--- trunk/src/www/docman/view.php	2010-12-12 20:51:39 UTC (rev 11781)
+++ trunk/src/www/docman/view.php	2010-12-12 20:52:06 UTC (rev 11782)
@@ -46,9 +46,9 @@
 	exit_error($g->getErrorMessage(), 'docman');
 }
 
-if ($docid != 'backup' && $docid != 'webdav' ) {
+if ($docid != 'backup' && $docid != 'webdav') {
 	session_require_perm('docman', $group_id, 'read');
-	$docname=urldecode($arr[5]);
+	$docname = urldecode($arr[5]);
 
 	$d = new Document($g,$docid);
 	if (!$d || !is_object($d)) {




More information about the Fusionforge-commits mailing list