|
|
|
|
@ -68,10 +68,6 @@ if ((!$is_allowed_to_edit) || ($isStudentView)) { |
|
|
|
|
// From here on, we are admin because of the previous condition, so don't check anymore. |
|
|
|
|
|
|
|
|
|
$course_id = api_get_course_int_id(); |
|
|
|
|
$sql = "SELECT * FROM $tbl_lp WHERE iid = $learnpath_id"; |
|
|
|
|
|
|
|
|
|
$result = Database::query($sql); |
|
|
|
|
$therow = Database::fetch_array($result); |
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
Course admin section |
|
|
|
|
@ -91,7 +87,7 @@ $interbreadcrumb[] = [ |
|
|
|
|
]; |
|
|
|
|
$interbreadcrumb[] = [ |
|
|
|
|
'url' => api_get_self()."?action=build&lp_id=$learnpath_id&".api_get_cidreq(), |
|
|
|
|
'name' => stripslashes("{$therow['name']}"), |
|
|
|
|
'name' => stripslashes($learnPath->get_name()), |
|
|
|
|
]; |
|
|
|
|
$interbreadcrumb[] = [ |
|
|
|
|
'url' => api_get_self()."?action=add_item&type=step&lp_id=$learnpath_id&".api_get_cidreq(), |
|
|
|
|
|