mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
Merge branch 'MDL-65601_master' of git://github.com/dmonllao/moodle
This commit is contained in:
commit
d15589bc08
4 changed files with 48 additions and 9 deletions
|
@ -1014,6 +1014,7 @@ class model {
|
|||
|
||||
// Append new elements (we can not get duplicates because sample-analysable relation is N-1).
|
||||
$timesplitting = $this->get_time_splitting();
|
||||
$timesplitting->set_modelid($this->get_id());
|
||||
$timesplitting->set_analysable($data->analysable);
|
||||
$range = $timesplitting->get_range_by_index($rangeindex);
|
||||
|
||||
|
@ -1076,6 +1077,7 @@ class model {
|
|||
|
||||
$analysable = $this->get_analyser()->get_sample_analysable($sampleid);
|
||||
$timesplitting = $this->get_time_splitting();
|
||||
$timesplitting->set_modelid($this->get_id());
|
||||
$timesplitting->set_analysable($analysable);
|
||||
$range = $timesplitting->get_range_by_index($rangeindex);
|
||||
if ($range) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue