From 9cb9d92c2b035e29df6d7d7ec5d1bad522798f13 Mon Sep 17 00:00:00 2001 From: Yoselyn Castillo Date: Mon, 27 May 2013 14:41:52 -0400 Subject: [PATCH] fixing visibility of documents in the first access of user --- main/document/document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/document/document.php b/main/document/document.php index 494b9dda8c..8cac04c5f4 100644 --- a/main/document/document.php +++ b/main/document/document.php @@ -479,7 +479,7 @@ $js_path = api_get_path(WEB_LIBRARY_PATH).'javascript/'; $htmlHeadXtra[] = ''; $htmlHeadXtra[] = ''; //$htmlHeadXtra[] = ''; - +$to_group_id = api_get_group_id(); $mediaplayer_path = api_get_path(WEB_LIBRARY_PATH).'mediaplayer/player.swf'; $docs_and_folders = DocumentManager::get_all_document_data($_course, $curdirpath, $to_group_id, null, $is_allowed_to_edit || $group_member_with_upload_rights, false);