Bugfix
This commit is contained in:
parent
a6bfed9d86
commit
25f6046099
|
@ -367,7 +367,7 @@ function xmldb_local_treestudyplan_upgrade($oldversion) {
|
|||
for($i=0; $i < $pcount; $i++){
|
||||
$pnum = $i+1;
|
||||
$pstart = $ystart + ($i*$ptime);
|
||||
$pend = $pstart + $ptime;
|
||||
$pend = ($pstart + $ptime)-(24*60*60); // minus one day
|
||||
|
||||
$o = [ "page_id" => $r->id,
|
||||
"period" => $pnum,
|
||||
|
|
Loading…
Reference in New Issue
Block a user