Merge branch '1.11.x' of github.com:chamilo/chamilo-lms into 1.11.x

pull/2487/head
Angel Fernando Quiroz Campos 9 years ago
commit 81dbf42e9d
  1. 6
      main/lp/learnpath.class.php

@ -11161,9 +11161,9 @@ EOD;
$lpItemId = [];
$typeListNotToVerify = self::getChapterTypes();
foreach ($this->items as $item) {
if (!in_array($item->get_type(), $typeListNotToVerify)) {
$lpItemId[] = $item->get_id();
foreach ($this->get_toc() as $item) {
if (!in_array($item['type'], $typeListNotToVerify)) {
$lpItemId[] = $item['id'];
}
}

Loading…
Cancel
Save