Rename variable - refs BT#9886 #TMI

1.10.x
Angel Fernando Quiroz Campos 10 years ago
parent 6e6ee8190f
commit 1a4d46befc
  1. 6
      main/newscorm/lp_list.php
  2. 2
      main/template/default/learnpath/list.tpl

@ -127,7 +127,7 @@ if (!empty($categoriesTempList)) {
$userId = api_get_user_id();
$userInfo = api_get_user_info();
$lp_showed = false;
$lpIsShown = false;
$test_mode = api_get_setting('server_type');
@ -778,7 +778,7 @@ foreach ($categories as $item) {
'action_seriousgame' => $actionSeriousGame
];
$lp_showed = true;
$lpIsShown = true;
//counter for number of elements treated
$current++;
@ -799,7 +799,7 @@ $template->assign('message', $message);
$template->assign('introduction_section', $introductionSection);
$template->assign('data', $data);
$template->assign('lp_showed', $lp_showed);
$template->assign('lp_is_shown', $lpIsShown);
$content = $template->fetch('default/learnpath/list.tpl');

@ -120,7 +120,7 @@
{% endif %}
{% endfor %}
{% if is_allowed_to_edit and not lp_showed %}
{% if is_allowed_to_edit and not lp_is_shown %}
<div id="no-data-view">
<h2>{{ "LearningPaths"|get_lang }}</h2>
<img src="{{ "scorms.png"|icon(64) }}">

Loading…
Cancel
Save