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