[svn r12168] Added check to avoid warnings breaking workflow in test mode

skala
Yannick Warnier 19 years ago
parent c4f440387c
commit 349eab2d31
  1. 2
      main/newscorm/learnpath.class.php

@ -1776,6 +1776,8 @@ class learnpath {
$index = 0;
while (!empty($this->ordered_items[$index])
AND
is_a($this->items[$this->ordered_items[$index]],'learnpathItem')
AND
(
$this->items[$this->ordered_items[$index]]->get_type() == 'dir'
OR $this->items[$this->ordered_items[$index]]->get_type() == 'dokeos_chapter'

Loading…
Cancel
Save