|
@@ 3274-3276 (lines=3) @@
|
| 3271 |
|
{ |
| 3272 |
|
$course_id = $this->get_course_int_id(); |
| 3273 |
|
|
| 3274 |
|
if ($this->debug > 0) { |
| 3275 |
|
error_log('New LP - In learnpath::get_link('.$type.','.$item_id.')', 0); |
| 3276 |
|
} |
| 3277 |
|
if (empty($item_id)) { |
| 3278 |
|
if ($this->debug > 2) { |
| 3279 |
|
error_log('New LP - In learnpath::get_link() - no item id given in learnpath::get_link(), using current: '.$this->get_current_item_id(), 0); |
|
@@ 4633-4635 (lines=3) @@
|
| 4630 |
|
break; |
| 4631 |
|
} |
| 4632 |
|
} |
| 4633 |
|
if ($this->debug > 2) { |
| 4634 |
|
error_log('New LP - set_current_item('.$item_id.') done. Index is now : '.$this->index, 0); |
| 4635 |
|
} |
| 4636 |
|
} else { |
| 4637 |
|
error_log('New LP - set_current_item('.$item_id.') failed. Not a numeric value: ', 0); |
| 4638 |
|
} |