Minor - Added comment to validate the use of get_toc instead $this->items

remotes/angel/1.11.x
José Loguercio 8 years ago committed by GitHub
parent e0a1567ec7
commit 84c9e480d2
  1. 2
      main/lp/learnpath.class.php

@ -11161,6 +11161,8 @@ EOD;
$lpItemId = [];
$typeListNotToVerify = self::getChapterTypes();
// Using get_toc() function instead $this->items because returns the correct order of the items
foreach ($this->get_toc() as $item) {
if (!in_array($item['type'], $typeListNotToVerify)) {
$lpItemId[] = $item['id'];

Loading…
Cancel
Save