|
@@ -1008,7 +1008,7 @@ $table_footer = '';
|
|
|
$total_size = 0;
|
|
|
|
|
|
if (isset($docs_and_folders) && is_array($docs_and_folders)) {
|
|
|
- if (api_get_group_id() == 0 || ( api_is_allowed_to_edit() || GroupManager::is_subscribed(api_get_user_id(), 0) || GroupManager :: is_tutor_of_group(api_get_user_id(), api_get_group_id()))) {
|
|
|
+ if (api_get_group_id() == 0 || ( api_is_allowed_to_edit() || GroupManager::is_subscribed(api_get_user_id(), api_get_group_id()) || GroupManager :: is_tutor_of_group(api_get_user_id(), api_get_group_id()))) {
|
|
|
// Create a sortable table with our data
|
|
|
$sortable_data = array();
|
|
|
|