From 31829ce31cec0628835b87b4a7293663d69dbf34 Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Thu, 3 May 2007 19:38:49 +0200 Subject: [PATCH] [svn r12288] --- main/dropbox/dropbox_init.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/dropbox/dropbox_init.inc.php b/main/dropbox/dropbox_init.inc.php index c66bbfd6b4..2f07b89d12 100644 --- a/main/dropbox/dropbox_init.inc.php +++ b/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') {