Forum: Fix view permissions to items for admin from learnpath - refs BT#21044

pull/4917/head
christian 1 year ago
parent 004840f435
commit d205e094c3
  1. 2
      public/main/lp/lp_list.php

@ -306,7 +306,7 @@ foreach ($categories as $category) {
// student view automatically. Many teachers are confused // student view automatically. Many teachers are confused
// by that, so maybe a solution can be found to avoid it // by that, so maybe a solution can be found to avoid it
$maker = (empty($details['lp_maker']) ? '' : Security::remove_XSS($details['lp_maker'])); $maker = (empty($details['lp_maker']) ? '' : Security::remove_XSS($details['lp_maker']));
$url_start_lp .= '&isStudentView=true'; //$url_start_lp .= '&isStudentView=true';
$extra = $lpVisibility ? '' : get_lang('Learners cannot see this learning path'); $extra = $lpVisibility ? '' : get_lang('Learners cannot see this learning path');
} }

Loading…
Cancel
Save