diff --git a/ccdaservice/package-lock.json b/ccdaservice/package-lock.json index 1971c81a8e7..7520b36723a 100644 --- a/ccdaservice/package-lock.json +++ b/ccdaservice/package-lock.json @@ -2601,7 +2601,6 @@ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" }, "oe-blue-button-generate": { - "name": "oe-blue-button-generate", "version": "1.5.10", "license": "Apache-2.0", "devDependencies": {}, diff --git a/interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html b/interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html index 8f655126879..3e66a01fd80 100644 --- a/interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html +++ b/interface/main/calendar/modules/PostCalendar/pntemplates/default/views/day/ajax_template.html @@ -625,7 +625,7 @@ // calculate the duration from this event to the outevent $outH = substr($outevent['startTime'], 0, 2); $outM = substr($outevent['startTime'], 3, 2); - $outMins = ($outH * 60) + $outM; + $outMins = (intval($outH) * 60) + intval($outM); $event['duration'] = ($outMins - $eStartMin) * 60; // duration is in seconds $found = 2; break;