[Fusionforge-commits] r13611 - trunk/src/common/docman/views

Franck VILLAUME nerville at fusionforge.org
Tue Jun 28 15:16:01 CEST 2011


Author: nerville
Date: 2011-06-28 15:16:01 +0200 (Tue, 28 Jun 2011)
New Revision: 13611

Modified:
   trunk/src/common/docman/views/listfile.php
Log:
there is no pending files for dirir = 0 ...

Modified: trunk/src/common/docman/views/listfile.php
===================================================================
--- trunk/src/common/docman/views/listfile.php	2011-06-28 13:08:09 UTC (rev 13610)
+++ trunk/src/common/docman/views/listfile.php	2011-06-28 13:16:01 UTC (rev 13611)
@@ -292,7 +292,7 @@
 		echo '<p class="warning">'._('No documents to display').'</p>';
 	}
 }
-if (forge_check_perm('docman', $group_id, 'approve')) {
+if (forge_check_perm('docman', $group_id, 'approve') && $DocGroupName) {
 	include ($gfcommon.'docman/views/pendingfiles.php');
 	include ($gfcommon.'docman/views/editfile.php');
 }




More information about the Fusionforge-commits mailing list