Completed
Push — 1.11.x ( 63a9c1...5396c4 )
by José
77:08 queued 37:00
created
main/forum/viewforumcategory.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -500,7 +500,7 @@
 block discarded – undo
500 500
                 $html .= '</div>';
501 501
                 $html .= '</div></div>';
502 502
             }
503
-           echo $html;
503
+            echo $html;
504 504
         }
505 505
     }
506 506
     if (count($forum_list) == 0) {
Please login to merge, or discard this patch.
Spacing   +42 added lines, -42 removed lines patch added patch discarded remove patch
@@ -52,17 +52,17 @@  discard block
 block discarded – undo
52 52
 $origin = '';
53 53
 
54 54
 if (isset($_GET['origin'])) {
55
-    $origin =  Security::remove_XSS($_GET['origin']);
55
+    $origin = Security::remove_XSS($_GET['origin']);
56 56
 }
57 57
 
58 58
 /* Header and Breadcrumbs */
59 59
 $gradebook = null;
60 60
 if (isset($_SESSION['gradebook'])) {
61
-    $gradebook=	$_SESSION['gradebook'];
61
+    $gradebook = $_SESSION['gradebook'];
62 62
 }
63 63
 
64 64
 if (!empty($gradebook) && $gradebook == 'view') {
65
-    $interbreadcrumb[] = array (
65
+    $interbreadcrumb[] = array(
66 66
         'url' => '../gradebook/'.$_SESSION['gradebook_dest'],
67 67
         'name' => get_lang('ToolGradebook')
68 68
     );
@@ -72,15 +72,15 @@  discard block
 block discarded – undo
72 72
 
73 73
 $current_forum_category = get_forum_categories($_GET['forumcategory']);
74 74
 $interbreadcrumb[] = array(
75
-    'url' => 'index.php?gradebook=' . $gradebook . '&search='
75
+    'url' => 'index.php?gradebook='.$gradebook.'&search='
76 76
         . Security::remove_XSS(urlencode(isset($_GET['search']) ? $_GET['search'] : '')),
77 77
     'name' => get_lang('Forum')
78 78
 );
79 79
 
80 80
 if (!empty($_GET['action']) && !empty($_GET['content'])) {
81
-    if ($_GET['action']=='add' && $_GET['content']=='forum' ) {
81
+    if ($_GET['action'] == 'add' && $_GET['content'] == 'forum') {
82 82
         $interbreadcrumb[] = array(
83
-            'url' => 'viewforumcategory.php?'.api_get_cidreq().'&forumcategory='. $current_forum_category['cat_id'],
83
+            'url' => 'viewforumcategory.php?'.api_get_cidreq().'&forumcategory='.$current_forum_category['cat_id'],
84 84
             'name' => $current_forum_category['cat_title']
85 85
         );
86 86
         $interbreadcrumb[] = array(
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 // then the user is not allowed here.
111 111
 if (
112 112
     !api_is_allowed_to_edit(false, true) AND
113
-    ( $current_forum_category && $current_forum_category['visibility'] == 0)
113
+    ($current_forum_category && $current_forum_category['visibility'] == 0)
114 114
 ) {
115 115
     api_not_allowed();
116 116
 }
@@ -120,10 +120,10 @@  discard block
 block discarded – undo
120 120
 $html .= '<div class="actions">';
121 121
 $html .= '<a href="index.php?gradebook='.$gradebook.'&'.api_get_cidreq().'">'.
122 122
     Display::return_icon('back.png', get_lang('BackToForumOverview'), '', ICON_SIZE_MEDIUM).'</a>';
123
-if (api_is_allowed_to_edit(false,true)) {
124
-    $html .= '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory='
125
-        . $current_forum_category['cat_id'] . '&action=add&content=forum"> '
126
-        . Display::return_icon('new_forum.png', get_lang('AddForum'), '', ICON_SIZE_MEDIUM) . '</a>';
123
+if (api_is_allowed_to_edit(false, true)) {
124
+    $html .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory='
125
+        . $current_forum_category['cat_id'].'&action=add&content=forum"> '
126
+        . Display::return_icon('new_forum.png', get_lang('AddForum'), '', ICON_SIZE_MEDIUM).'</a>';
127 127
 }
128 128
 $html .= search_link();
129 129
 $html .= '</div>';
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     $forum_categories_list = '';
184 184
     $forumId = $forum_category['cat_id'];
185 185
     $forumTitle = $forum_category['cat_title'];
186
-    $linkForumCategory = 'viewforumcategory.php?' . api_get_cidreq() . '&forumcategory=' . strval(intval($forumId));
186
+    $linkForumCategory = 'viewforumcategory.php?'.api_get_cidreq().'&forumcategory='.strval(intval($forumId));
187 187
     $descriptionCategory = $forum_category['cat_comment'];
188 188
     $icoCategory = Display::return_icon(
189 189
         'forum_blue.png',
@@ -194,16 +194,16 @@  discard block
 block discarded – undo
194 194
 
195 195
     if (api_is_allowed_to_edit(false, true) && !($forum_category['session_id'] == 0 && $sessionId != 0)) {
196 196
 
197
-        $iconsEdit = '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory='
198
-            . Security::remove_XSS($_GET['forumcategory']) . '&action=edit&content=forumcategory&id='
199
-            . '' . $forumId . '">'
200
-            . Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL) . '</a>';
201
-        $iconsEdit .= '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory='
197
+        $iconsEdit = '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory='
198
+            . Security::remove_XSS($_GET['forumcategory']).'&action=edit&content=forumcategory&id='
199
+            . ''.$forumId.'">'
200
+            . Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL).'</a>';
201
+        $iconsEdit .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory='
202 202
             . Security::remove_XSS($_GET['forumcategory'])
203
-            . '&action=delete&content=forumcategory&id=' . $forumId
203
+            . '&action=delete&content=forumcategory&id='.$forumId
204 204
             . "\" onclick=\"javascript:if(!confirm('"
205 205
             . addslashes(api_htmlentities(get_lang('DeleteForumCategory'), ENT_QUOTES))
206
-            . "')) return false;\">" . Display::return_icon('delete.png', get_lang('Delete'), array(), ICON_SIZE_SMALL)
206
+            . "')) return false;\">".Display::return_icon('delete.png', get_lang('Delete'), array(), ICON_SIZE_SMALL)
207 207
             . '</a>';
208 208
         $iconsEdit .= return_visible_invisible_icon(
209 209
             'forumcategory', $forum_category['cat_id'],
@@ -243,7 +243,7 @@  discard block
 block discarded – undo
243 243
     );
244 244
 
245 245
 
246
-    if ($descriptionCategory != '' && trim($descriptionCategory)!= '&nbsp;')
246
+    if ($descriptionCategory != '' && trim($descriptionCategory) != '&nbsp;')
247 247
     {
248 248
         $html .= '<div class="forum-description">'.$descriptionCategory.'</div>';
249 249
     }
@@ -283,7 +283,7 @@  discard block
 block discarded – undo
283 283
             // SHOULD WE SHOW THIS PARTICULAR FORUM
284 284
             // you are teacher => show forum
285 285
 
286
-            if (api_is_allowed_to_edit(false,true)) {
286
+            if (api_is_allowed_to_edit(false, true)) {
287 287
                 //echo 'teacher';
288 288
                 $show_forum = true;
289 289
             } else {
@@ -350,9 +350,9 @@  discard block
 block discarded – undo
350 350
                         ? $all_groups[$forum['forum_of_group']]['id']
351 351
                         : null;
352 352
                     $group_title = api_substr($my_all_groups_forum_name, 0, 30);
353
-                    $forum_title_group_addition = ' (<a href="../group/group_space.php?' . api_get_cidreq()
354
-                        . '&gidReq=' . $my_all_groups_forum_id . '" class="forum_group_link">'
355
-                        . get_lang('GoTo') . ' ' . $group_title . '</a>)';
353
+                    $forum_title_group_addition = ' (<a href="../group/group_space.php?'.api_get_cidreq()
354
+                        . '&gidReq='.$my_all_groups_forum_id.'" class="forum_group_link">'
355
+                        . get_lang('GoTo').' '.$group_title.'</a>)';
356 356
                 } else {
357 357
                     $forum_title_group_addition = '';
358 358
                 }
@@ -370,7 +370,7 @@  discard block
 block discarded – undo
370 370
                 $html .= '<div class="row">';
371 371
                 $html .= '<div class="col-md-6">';
372 372
                 $html .= '<div class="col-md-3">';
373
-                $html .= '<div class="number-post">'.$forum_image .'<p>' . $my_number_threads . ' ' . get_lang('ForumThreads') . '</p></div>';
373
+                $html .= '<div class="number-post">'.$forum_image.'<p>'.$my_number_threads.' '.get_lang('ForumThreads').'</p></div>';
374 374
                 $html .= '</div>';
375 375
 
376 376
                 $html .= '<div class="col-md-9">';
@@ -385,7 +385,7 @@  discard block
 block discarded – undo
385 385
                     'a',
386 386
                     $forum['forum_title'].$session_displayed,
387 387
                     array(
388
-                        'href' => 'viewforum.php?' . api_get_cidreq()
388
+                        'href' => 'viewforum.php?'.api_get_cidreq()
389 389
                             . "&gidReq={$forum['forum_of_group']}&forum={$forum['forum_id']}&search="
390 390
                             . Security::remove_XSS(urlencode(isset($_GET['search']) ? $_GET['search'] : '')),
391 391
                         'class' => return_visible_invisible($forum['visibility'])
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
                 );
394 394
                 $html .= Display::tag(
395 395
                     'h3',
396
-                    $linkForum . ' ' . $forum_title_group_addition,
396
+                    $linkForum.' '.$forum_title_group_addition,
397 397
                     array(
398 398
                         'class' => 'title'
399 399
                     )
@@ -409,19 +409,19 @@  discard block
 block discarded – undo
409 409
                 $html .= '</div>';
410 410
                 $html .= '<div class="col-md-6">';
411 411
 
412
-                $iconEmpty='';
412
+                $iconEmpty = '';
413 413
 
414 414
                 // The number of topics and posts.
415 415
                 if ($forum['forum_of_group'] !== '0') {
416 416
                     $newPost = '';
417 417
                     if (is_array($my_whatsnew_post_info) && !empty($my_whatsnew_post_info)) {
418
-                        $newPost = ' ' . Display::return_icon('alert.png', get_lang('Forum'), null, ICON_SIZE_SMALL);
418
+                        $newPost = ' '.Display::return_icon('alert.png', get_lang('Forum'), null, ICON_SIZE_SMALL);
419 419
                     } else {
420 420
                         $newPost = $iconEmpty;
421 421
                     }
422 422
                 } else {
423 423
                     if (is_array($my_whatsnew_post_info) && !empty($my_whatsnew_post_info)) {
424
-                        $newPost = ' ' . Display::return_icon('alert.png', get_lang('Forum'), null, ICON_SIZE_SMALL);
424
+                        $newPost = ' '.Display::return_icon('alert.png', get_lang('Forum'), null, ICON_SIZE_SMALL);
425 425
                     } else {
426 426
                         $newPost = $iconEmpty;
427 427
                     }
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
 
430 430
                 $html .= '<div class="row">';
431 431
                 $html .= '<div class="col-md-2">';
432
-                $html .= $newPost . '</div>';
432
+                $html .= $newPost.'</div>';
433 433
 
434 434
                 // the last post in the forum
435 435
                 if ($forum['last_poster_name'] != '') {
@@ -441,9 +441,9 @@  discard block
 block discarded – undo
441 441
                 }
442 442
                 $html .= '<div class="col-md-6">';
443 443
                 if (!empty($forum['last_post_id'])) {
444
-                    $html .= Display::return_icon('post-item.png', null, null, ICON_SIZE_TINY) . ' ';
444
+                    $html .= Display::return_icon('post-item.png', null, null, ICON_SIZE_TINY).' ';
445 445
                     $html .= api_convert_and_format_date($forum['last_post_date'])
446
-                        . ' ' . get_lang('By') . ' '
446
+                        . ' '.get_lang('By').' '
447 447
                         . display_user_link($poster_id, $name);
448 448
                 }
449 449
                 $html .= '</div>';
@@ -453,13 +453,13 @@  discard block
 block discarded – undo
453 453
                     api_is_allowed_to_edit(false, true) &&
454 454
                     !($forum['session_id'] == 0 && $sessionId != 0)
455 455
                 ) {
456
-                    $html .= '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory='
456
+                    $html .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory='
457 457
                         . Security::remove_XSS($_GET['forumcategory'])
458
-                        . '&action=edit&content=forum&id=' . $forum['forum_id'] . '">'
459
-                        . Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL) . '</a>';
460
-                    $html .= '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory='
458
+                        . '&action=edit&content=forum&id='.$forum['forum_id'].'">'
459
+                        . Display::return_icon('edit.png', get_lang('Edit'), array(), ICON_SIZE_SMALL).'</a>';
460
+                    $html .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory='
461 461
                         . Security::remove_XSS($_GET['forumcategory'])
462
-                        . '&action=delete&content=forum&id=' . $forum['forum_id']
462
+                        . '&action=delete&content=forum&id='.$forum['forum_id']
463 463
                         . "\" onclick=\"javascript:if(!confirm('"
464 464
                         . addslashes(api_htmlentities(get_lang('DeleteForum'), ENT_QUOTES))
465 465
                         . "')) return false;\">"
@@ -483,15 +483,15 @@  discard block
 block discarded – undo
483 483
                 $iconnotify = 'notification_mail_na.png';
484 484
 
485 485
                 if (is_array(isset($_SESSION['forum_notification']['forum']) ? $_SESSION['forum_notification']['forum'] : null)) {
486
-                    if (in_array($forum['forum_id'],$_SESSION['forum_notification']['forum'])) {
486
+                    if (in_array($forum['forum_id'], $_SESSION['forum_notification']['forum'])) {
487 487
                         $iconnotify = 'notification_mail.png';
488 488
                     }
489 489
                 }
490 490
 
491 491
                 if (!api_is_anonymous()) {
492
-                    $html .= '<a href="' . api_get_self() . '?' . api_get_cidreq() . '&forumcategory='
493
-                        . Security::remove_XSS($_GET['forumcategory']) . '&action=notify&content=forum&id='
494
-                        . $forum['forum_id'] . '">' . Display::return_icon($iconnotify, get_lang('NotifyMe')) . '</a>';
492
+                    $html .= '<a href="'.api_get_self().'?'.api_get_cidreq().'&forumcategory='
493
+                        . Security::remove_XSS($_GET['forumcategory']).'&action=notify&content=forum&id='
494
+                        . $forum['forum_id'].'">'.Display::return_icon($iconnotify, get_lang('NotifyMe')).'</a>';
495 495
                 }
496 496
                 $html .= '</div>';
497 497
                 $html .= '</div>';
Please login to merge, or discard this patch.
main/forum/viewpost.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 // Are we in a lp ?
29 29
 $origin = '';
30 30
 if (isset($_GET['origin'])) {
31
-    $origin =  Security::remove_XSS($_GET['origin']);
31
+    $origin = Security::remove_XSS($_GET['origin']);
32 32
 }
33 33
 
34 34
 /* MAIN DISPLAY SECTION */
@@ -45,12 +45,12 @@  discard block
 block discarded – undo
45 45
 
46 46
 /* Header and Breadcrumbs */
47 47
 
48
-if (isset($_SESSION['gradebook'])){
48
+if (isset($_SESSION['gradebook'])) {
49 49
     $gradebook = $_SESSION['gradebook'];
50 50
 }
51 51
 
52 52
 if (!empty($gradebook) && $gradebook == 'view') {
53
-    $interbreadcrumb[] = array (
53
+    $interbreadcrumb[] = array(
54 54
         'url' => '../gradebook/'.$_SESSION['gradebook_dest'],
55 55
         'name' => get_lang('ToolGradebook')
56 56
     );
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
     echo "\t<tr>\n\t\t<th style=\"padding-left:5px;\" align=\"left\" colspan=\"6\">";
184 184
     echo '<span class="forum_title">'.prepare4display($current_thread['thread_title']).'</span><br />';
185 185
 
186
-    if ($origin!='learnpath') {
186
+    if ($origin != 'learnpath') {
187 187
         echo '<span class="forum_low_description">'.prepare4display($current_forum_category['cat_title']).' - ';
188 188
     }
189 189
 
Please login to merge, or discard this patch.
main/course_info/maintenance.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@  discard block
 block discarded – undo
6 6
  */
7 7
 
8 8
 require_once '../inc/global.inc.php';
9
-$current_course_tool  = TOOL_COURSE_MAINTENANCE;
9
+$current_course_tool = TOOL_COURSE_MAINTENANCE;
10 10
 $this_section = SECTION_COURSES;
11 11
 
12 12
 $nameTools = get_lang('Maintenance');
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 <div class="sectioncomment"><?php echo get_lang('DescriptionRecycleCourse'); ?></div>
41 41
 
42 42
 <div class="sectiontitle"><?php Display::display_icon('delete.gif', get_lang('DelCourse')); ?>&nbsp;&nbsp;<a href="../course_info/delete_course.php?<?php echo api_get_cidreq(); ?>"><?php echo get_lang('DelCourse'); ?></a></div>
43
-<div class="sectioncomment"><?php echo get_lang('DescriptionDeleteCourse');	?></div>
43
+<div class="sectioncomment"><?php echo get_lang('DescriptionDeleteCourse'); ?></div>
44 44
 
45 45
 <?php
46 46
 // Footer
Please login to merge, or discard this patch.
main/course_info/legal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
         }
88 88
 
89 89
         if ($pluginLegal) {
90
-            header('Location:' .$url);
90
+            header('Location:'.$url);
91 91
             exit;
92 92
         }
93 93
     }
Please login to merge, or discard this patch.
main/course_info/maintenance_coach.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,12 +27,12 @@
 block discarded – undo
27 27
 echo Display::page_subheader(
28 28
     Display::return_icon(
29 29
         'save_import.gif', get_lang('Backup')
30
-    ) . '&nbsp;&nbsp;' . get_lang('Backup')
30
+    ).'&nbsp;&nbsp;'.get_lang('Backup')
31 31
 );
32 32
 
33 33
 $url = api_get_path(
34 34
         WEB_CODE_PATH
35
-    ) . 'coursecopy/copy_course_session_selected.php?' . api_get_cidreq();
35
+    ).'coursecopy/copy_course_session_selected.php?'.api_get_cidreq();
36 36
 
37 37
 $link = Display::url(get_lang('CopyCourse'), $url);
38 38
 ?>
Please login to merge, or discard this patch.
main/course_info/delete_course.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     Session::erase('_real_cid');
37 37
     $noPHP_SELF = true;
38 38
     $message = '<h2>'.get_lang('Course').' : '.$current_course_name.' ('.$current_course_code.') </h2>';
39
-    $message .=get_lang('HasDel');
39
+    $message .= get_lang('HasDel');
40 40
     $message .= '<br /><br /><a href="../../index.php">'.get_lang('BackHome').' '.api_get_setting('siteName').'</a>';
41 41
 
42 42
 } else {
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     $message .= '<p><a class="btn btn-primary" href="'.api_get_path(WEB_CODE_PATH).'course_info/maintenance.php?'.api_get_cidreq().'">'.
45 45
         get_lang('No').'</a>&nbsp;<a class="btn btn-danger" href="'.api_get_self().'?delete=yes&'.api_get_cidreq().'">'.
46 46
         get_lang('Yes').'</a></p>';
47
-	$interbreadcrumb[] = array('url' => 'maintenance.php', 'name' => get_lang('Maintenance'));
47
+    $interbreadcrumb[] = array('url' => 'maintenance.php', 'name' => get_lang('Maintenance'));
48 48
 }
49 49
 Display :: display_header($tool_name, 'Settings');
50 50
 echo Display::page_header($tool_name);
Please login to merge, or discard this patch.
main/work/edit_work.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
 $htmlHeadXtra[] = to_javascript_work();
32 32
 $interbreadcrumb[] = array(
33
-    'url' => api_get_path(WEB_CODE_PATH) . 'work/work.php?' . api_get_cidreq(),
33
+    'url' => api_get_path(WEB_CODE_PATH).'work/work.php?'.api_get_cidreq(),
34 34
     'name' => get_lang('StudentPublications')
35 35
 );
36 36
 $interbreadcrumb[] = array('url' => '#', 'name' => get_lang('Edit'));
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 $form = new FormValidator(
39 39
     'edit_dir',
40 40
     'post',
41
-    api_get_path(WEB_CODE_PATH) . 'work/edit_work.php?id=' . $workId . '&' . api_get_cidreq()
41
+    api_get_path(WEB_CODE_PATH).'work/edit_work.php?id='.$workId.'&'.api_get_cidreq()
42 42
 );
43 43
 $form->addElement('header', get_lang('Edit'));
44 44
 
Please login to merge, or discard this patch.
main/work/upload_corrections.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 use Symfony\Component\Finder\Finder;
6 6
 
7 7
 require_once '../inc/global.inc.php';
8
-$current_course_tool  = TOOL_STUDENTPUBLICATION;
8
+$current_course_tool = TOOL_STUDENTPUBLICATION;
9 9
 
10 10
 api_protect_course_script(true);
11 11
 
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         $zip = new PclZip($_FILES['file']['tmp_name']);
71 71
 
72 72
         // Check the zip content (real size and file extension)
73
-        $zipFileList = (array)$zip->listContent();
73
+        $zipFileList = (array) $zip->listContent();
74 74
 
75 75
         $realSize = 0;
76 76
         foreach ($zipFileList as & $this_content) {
Please login to merge, or discard this patch.
main/work/download_comment_file.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     ) {
42 42
         if (Security::check_abs_path(
43 43
             $workData['file_path'],
44
-            api_get_path(SYS_COURSE_PATH) . api_get_course_path() . '/'
44
+            api_get_path(SYS_COURSE_PATH).api_get_course_path().'/'
45 45
         )
46 46
         ) {
47 47
             DocumentManager::file_send_for_download(
Please login to merge, or discard this patch.