Browse Source

[svn r12288]

Julian Prud'homme 18 năm trước cách đây
mục cha
commit
31829ce31c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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')
 	{