|
@@ -187,7 +187,7 @@ switch ($action) {
|
|
|
if (api_get_setting('allow_social_tool') == 'true' && api_get_setting('users_copy_files') == 'true' && api_get_user_id() != 0 && !api_is_anonymous()) {
|
|
|
$document_info = DocumentManager::get_document_data_by_id($_GET['id'], api_get_course_id(), true);
|
|
|
$parent_id = $document_info['parent_id'];
|
|
|
- $my_path = UserManager::get_user_picture_path_by_id(api_get_user_id(), 'system');
|
|
|
+ $my_path = UserManager::get_user_picture_path_by_id(api_get_user_id(), 'system', true);
|
|
|
$user_folder = $my_path['dir'].'my_files/';
|
|
|
$my_path = null;
|
|
|
|
|
@@ -1242,4 +1242,4 @@ if (!empty($table_footer)) {
|
|
|
}
|
|
|
|
|
|
// Footer
|
|
|
-Display::display_footer();
|
|
|
+Display::display_footer();
|