Minor - foramt code

pull/4017/head
Julio 3 years ago
parent 15d96fc2ed
commit a34a772c24
  1. 2
      public/main/badge/assign.php
  2. 1
      public/main/lp/learnpathItem.class.php

@ -227,7 +227,7 @@ $form->addHidden('user', $user->getId());
$form->addHidden('id', $skillId);
$form->addRule('skill', get_lang('Required field'), 'required');
$showLevels = false;// === api_get_configuration_value('hide_skill_levels');
$showLevels = false; // === api_get_configuration_value('hide_skill_levels');
if ($showLevels) {
$form->addSelect('acquired_level', get_lang('Level acquired'), $acquiredLevel);

@ -2915,6 +2915,7 @@ class learnpathItem
* Sets the lp_view id this item view is registered to.
*
* @param int $lp_view_id lp_view DB ID
*
* @todo //todo insert into lp_item_view if lp_view not exists
*/
public function set_lp_view(int $lp_view_id): bool

Loading…
Cancel
Save