Browse Source

[svn r12288]

Julian Prud'homme 18 years ago
parent
commit
31829ce31c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/dropbox/dropbox_init.inc.php

+ 1 - 1
main/dropbox/dropbox_init.inc.php

@@ -292,7 +292,7 @@ if ($_POST['actions']=='download' and !$_POST['store_feedback'])
  * ========================================
  * Prevents access of all users that are not course members
  */
-if(! $is_allowed_in_course || ! $is_courseMember)
+if((!$is_allowed_in_course || !$is_courseMember) && !api_is_allowed_to_edit())
 {
 	if ($origin != 'learnpath')
 	{