Minor - format code

pull/3883/head
Julio Montoya 5 years ago
parent 43e93374b6
commit 32e6cbfe76
  1. 3
      main/lp/scorm.class.php
  2. 1
      main/mySpace/myStudents.php

@ -1,7 +1,6 @@
<?php <?php
/* For licensing terms, see /license.txt */
use Symfony\Component\DomCrawler\Crawler; /* For licensing terms, see /license.txt */
/** /**
* Defines the scorm class, which is meant to contain the scorm items (nuclear elements). * Defines the scorm class, which is meant to contain the scorm items (nuclear elements).

@ -996,6 +996,7 @@ if (empty($details)) {
if (api_get_configuration_value('allow_career_users')) { if (api_get_configuration_value('allow_career_users')) {
$visibility = api_get_session_visibility($sId); $visibility = api_get_session_visibility($sId);
if (SESSION_AVAILABLE === $visibility) { if (SESSION_AVAILABLE === $visibility) {
$value = $extraFieldValueSession->get_values_by_handler_and_field_variable($sId, 'careerid'); $value = $extraFieldValueSession->get_values_by_handler_and_field_variable($sId, 'careerid');
if (isset($value['value']) && !empty($value['value'])) { if (isset($value['value']) && !empty($value['value'])) {

Loading…
Cancel
Save