|
@@ 3353-3355 (lines=3) @@
|
| 3350 |
|
{ |
| 3351 |
|
$course_id = $this->get_course_int_id(); |
| 3352 |
|
|
| 3353 |
|
if ($this->debug > 0) { |
| 3354 |
|
error_log('New LP - In learnpath::get_link(' . $type . ',' . $item_id . ')', 0); |
| 3355 |
|
} |
| 3356 |
|
if (empty($item_id)) { |
| 3357 |
|
if ($this->debug > 2) { |
| 3358 |
|
error_log('New LP - In learnpath::get_link() - no item id given in learnpath::get_link(), using current: ' . $this->get_current_item_id(), 0); |
|
@@ 4481-4483 (lines=3) @@
|
| 4478 |
|
break; |
| 4479 |
|
} |
| 4480 |
|
} |
| 4481 |
|
if ($this->debug > 2) { |
| 4482 |
|
error_log('New LP - set_current_item(' . $item_id . ') done. Index is now : ' . $this->index, 0); |
| 4483 |
|
} |
| 4484 |
|
} else { |
| 4485 |
|
error_log('New LP - set_current_item(' . $item_id . ') failed. Not a numeric value: ', 0); |
| 4486 |
|
} |